# SPECIALITY - Editorial

Author: Kanhaiya Mohan
Tester: Takuki Kurokawa
Editorialist: Nishank Suresh

TBD

None

# PROBLEM:

Given the number of problems a CodeChef user has set, tested, and written editorials for (X, Y, Z respectively), find out which one a user has been most prolific at.

# EXPLANATION:

Since there are only 3 values and all of them are distinct, if conditions can be used to check for the answer.

• If X \gt Y and X \gt Z, the answer is “Setter”.
• If Y \gt X and Y \gt Z, the answer is “Tester”.
• If Z \gt X and Z \gt Y, the answer is “Editorialist”.

# TIME COMPLEXITY

\mathcal{O}(1) per test case.

# CODE:

Editorialist's code (Python)
for _ in range(int(input())):
x, y, z = map(int, input().split())
if x > max(y, z):
print('Setter')
elif y > max(x, z):
print('Tester')
else:
print('Editorialist')