D. Exponentiationtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputYou are given integers a, b and c. Calculate ab modulo c.InputInput data contains numbers a, b and c, one number per line. Each number is an integer between 1 and 100, inclusive.OutputOutput ab mod c.ExamplesInput2540Output32Input2526Output6
Input2540
Output32
['*special problem', '*1500']