# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Author:* Kanhaiya Mohan

*Takuki Kurokawa*

**Tester:***Nishank Suresh*

**Editorialist:**# DIFFICULTY:

TBD

# PREREQUISITES:

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')
```