Based on ICMR guidelines the Myuria company want to test their employees based on their body temperature and cold condition. If body temperature is>99 and the person having cold to be send for COVID19 center. Or if person not effected from cold, send him to QUARANTINE center. If body temperature is<99 and the person having cold to allocate separate work place. Or if person not effected from cold, send him to regular Work place Input Format
The first line of input contains an integer t represents number of test cases The next t lines of input contains one float value represents body temprature and followed by an integer 0 or 1 represents infected by cold-1 or not-0
Constraints
1<=t<10 95<=temp<=105 1 for infected by cold and - for not infected by cold
Output Format
The every line of output prints yes or no
Sample Input 0
1
97 0
Sample Output 0
no
Explanation 0
Body temprature is less than 97 and not infected by cold so he will not send to Quarntine
Share
0 Replies