시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
2 초 512 MB 30 28 26 92.857%

문제

Angela is teaching her primary school pupils how to use a protractor (which hopefully you know is a device used to measure angles!). She has given each pupil a set of triangles and asked them to measure and record each of the three internal angles.

Angela would like you to write a simple program to check her pupil s results. Knowing that the internal angles of a triangle add up to 180º, which results should Angela check?

입력

You will be given a set of results from one class. It will start with a single integer, N, the number of pupils who have supplied readings. (0 < N <= 30). There will then follow N lines, each containing 3 positive integers separated by spaces. The numbers represent the measurements supplied by a pupil for the 3 angles of a triangle.

출력

For each set of readings, output the numbers as input followed by the word Check if they do not add up to 180, or Seems OK if they do.

예제 입력 1

10
59 60 60
42 68 70
65 65 50
120 31 28
61 61 58
78 61 41
85 85 9
64 82 35
29 102 49
120 30 30

예제 출력 1

59 60 60 Check
42 68 70 Seems OK
65 65 50 Seems OK
120 31 28 Check
61 61 58 Seems OK
78 61 41 Seems OK
85 85 9 Check
64 82 35 Check
29 102 49 Seems OK
120 30 30 Seems OK