#C7850. Determine More Followers
Determine More Followers
Determine More Followers
Contest Problem: Given two integers representing the daily multiplication factors for the number of followers of two social media personalities, Emily and Frank, and a number of days, determine whose follower count will be larger after multiplying their base factors by the number of days.
For a test case with integers E, F, and D, the total followers are computed as:
\( E\times D \) and \( F\times D \).
Output EMILY if Emily's calculated followers are more, FRANK if Frank's are more, or EQUAL if they are identical.
inputFormat
The first line of input contains an integer T denoting the number of test cases. Each of the following T lines contains three space-separated integers: E (Emily's factor), F (Frank's factor), and D (number of days).
outputFormat
For each test case, output on a new line one of the following: EMILY if Emily ends up with more followers, FRANK if Frank ends up with more followers, or EQUAL if they are the same.
## sample3
5 7 10
8 8 15
10 5 6
FRANK
EQUAL
EMILY
</p>