#K95542. Employee Bonus Eligibility
Employee Bonus Eligibility
Employee Bonus Eligibility
You are given the efficiency values of employees. An employee is eligible for a bonus if and only if his efficiency is strictly greater than \(50\). Otherwise, the employee is not eligible.
For example, if the efficiency values are [30, 55, 50, 75], then the output should be:
- Not Eligible (for 30)
- Eligible (for 55)
- Not Eligible (for 50)
- Eligible (for 75)
Please note that the threshold \(50\) is not included; an efficiency exactly equal to 50 does not qualify.
inputFormat
The first line of input contains an integer \(n\) representing the number of employees. The second line contains \(n\) space-separated integers representing the efficiency scores of the employees.
Example:
4 10 20 30 40
outputFormat
Output \(n\) lines. For each employee, output Eligible
if the employee's efficiency is strictly greater than \(50\), otherwise output Not Eligible
.
Example:
Not Eligible Not Eligible Not Eligible Not Eligible## sample
4
10 20 30 40
Not Eligible
Not Eligible
Not Eligible
Not Eligible
</p>