//www.gammal.tech #include <stdio.h> int fun(int y){ -if(y>0) --return 10; -return -10; } int main(void) { -int x=3; -int z=fun(x); -printf("%d\\n",z); -return 0; }
Problem statement
Mohamed has a bad vision, he cannot see the digital clock on the wall clearly. He sometimes looks at the clock and confuses the 8 with 0. Specifically, when the clock shows that the time is 8, he sometimes sees it as 0.
Given the time Mohamed sees on the clock, tell him what the actual time is.
Input
The first line contains a single integer T the number of test cases.
Each test case starts with a line containing one integer N,(0 ≤ N≤ 12)
Output
For every case, Print the actual time.