{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"\u003cp\u003e\nRup Chowdhury has bought a supercomputer from Bongobazar. Bongobazar is a place in Dhaka where second-hand goods are found in plenty. So the supercomputer bought by him is also second-hand and has some bugs. One of the bugs is that the range of unsigned long integer of this computer for C/C++ compiler has changed. Now its new lower limit is 10000 and upper limit is 6227020800. Rup writes a program in C/C++ which determines the factorial of an integer. Factorial of an integer is de ned recursively as:\u003c/p\u003e\n\u003cpre\u003e\n factorial(0) \u003d 1\n factorial(n) \u003d n * f actorial(n-1)\n\u003c/pre\u003e\n\nBut Rup knows that his program will not behave rightly in the supercomputer. You are to write a program which will simulate that changed behavior to help Rup.\n\n\u003c/p\u003e"}},{"title":"Input","value":{"format":"MD","content":"The input file contains several lines of input. Each line contains a single integer n. No integer has more than six digits. Input is terminated by end of file (EOF)."}},{"title":"Output","value":{"format":"MD","content":"For each line of input, you should output a single line. This line will contain a single integer n! if the value of n! fits within the unsigned long integer of Rup\u0027s computer. Otherwise, the line will contain one of the following two words\n\u003cpre\u003eOverflow! (When n! \u003e 6227020800)\nUnderflow! (When n! \u003c 10000)\u003c/pre\u003e"}},{"title":"Sample Input","value":{"format":"MD","content":"2\n10\n100"}},{"title":"Sample Output","value":{"format":"MD","content":"Underflow!\n3628800\nOverflow!"}}]}