Execution time limit is 1 second Runtime memory usage limit is 128 megabytes Three integers a,b,c are given. Find the value of expression a∗b mod c.
Input
Three positive integers a,b,c (a,b,c<263).
Output
Print the value of expression a∗b mod c.
Examples