P :

Time Limit:ms
Case Time Limit:ms
Memory Limit:MB
Sample Input

		
Sample Output