BUEST salary systemProblem code: EMA03 |
Earlier days, in BUEST, salary to teachers is given in the form of special coins named as BUEST coins. Any teacher could exchange it with the bank into three coins n/2,n/3,n/4. But since in the world, it will be very difficult with those decimals to purchase things so simply bank rounds off the values. As the institute has foreign collaboration with universities, so in a faculty exchange program if a teacher goes to Japan, then he could exchange BUEST coins with yen. Suppose you have one BUEST coin . What is the maximum amount of yen you can get to survive in Japan.
Input
The input will contain several test cases . Each test case is a single line with a number n. It is the number written on your coin
Output
For each test case output the single line , containing the maximum amount of Japanese Yen a teacher can make.
Example
Input: 12 2 Output: 13 2
| Author: | rajneeshrana |
| Date Added: | 25-03-2010 |
| Time Limit: | 1 sec |
| Source Limit: | 50000 Bytes |
| Languages: | ADA, ASM, BASH, BF, C, C99 strict, CAML, CLPS, CPP 4.0.0-8, CPP 4.3.2, CS2, D, ERL, FORT, HASK, ICK, ICON, JAR, JAVA, JS, LISP clisp, LISP sbcl, LUA, NEM, NICE, PAS fpc, PAS gpc, PERL, PHP, PIKE, PRLG, PYTH, PYTH 3.1.2, RUBY, SCALA, SCM guile, SCM qobi, ST, WSPC |
Comments

Fetching successful submissions

Is any registration needed
Is any registration needed for this contest?
how to convert buest to yen
how to convert buest to yen unless any conversion parameter is not given??