Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Mount Everest is known as Sagarmatha in Nepali. The height of Mt Everest is 8,848 meters. Many local and international tourist visits Nepal to climb Mt Everest. Tek Bahadur Sherpa is tour guide to climb Everest. He stays at Base camp of Mt Everest. Which is height of X meters (Location of base camp changes according to climate). He helps tourists to climb Everest from base camp to peak of mountain. This year a Brave team from Bangladesh visits to climb mountain. They reached to the base camp of Everest and meet Tek Bahadur Sherpa. They asked him, “ How much minutes it will take to climb from Base camp to Peak of Everest if we climb 1 meter in 1 minute “? Tek Bahadur Sherpa is very weak in math. He doesn’t even know normal addition/subtraction math. He need help from you. Can you help him?

Input starts with an integer T (T<=10), denoting the number of test cases. Each test case contains an integer X such that, (1<=X<8848) denoting height of base camp.

For each test case print the required answer.

Input | Output |
---|---|

2 8400 8847 | 448 1 |

97% Solution Ratio

RenegadesEarliest,

KingSSUFastest, 0.0s

sadman12Lightest, 0 B

Jakaria_MUShortest, 43B

Login to submit