#C11485. Find Minimum Tasks Employee Index
Find Minimum Tasks Employee Index
Find Minimum Tasks Employee Index
You are provided with an integer N, representing the number of employees. The second line contains N integers, each representing the number of tasks completed by an employee. Your goal is to output the 1-indexed position of the employee who has completed the fewest tasks. If more than one employee has the minimum number of tasks, output the smallest index among them.
inputFormat
The first line is an integer N. The second line contains N space-separated integers.
outputFormat
Print the index (starting from 1) of the employee who has completed the fewest tasks.## sample
1
5
1