 # https://www.codechef.com/HUNT2021/problems/CLKK3

PROBLEM LINK:
Contest Page | CodeChefPROBLEM 1

PREREQUISITES :
Nothing

PROBLEM :
Timings of KIET coding contest has been changed, now the contestants are required to submit their code as soon as their clock’s minute and hour hand face opposite direction w.r.t each other.

There are t test cases and in each test case:
Given an integer X where the hour hand of the clock points, print the integer where the minute hand has to point.

EXPLANATION
approach1- First of all since all the parameters are integers so going simply , if the number is less than or equal to 6 then add 6 else subtract 6
approach2- Use modulo operator after 12 for instance (x+6)%12 , but exception wold occur at 6 as it would become 0 so handle it in another conditional statement .

SOLUTION :
//c++

#include<bits/stdc++.h>
using namespace std ;
int main()
{ int t;
cin>>t;
while(t–)
{int a;
cin>>a;
if(a==6) {cout<<12<<"\n" ; continue ;}
cout<<(a+6)%12<<"\n" ;
}
return 0 ;
}