I was asked not to interfere
On a single roll of paper inserted into the cash register, L lines of text can be printed. Each purchased item requires m lines on the receipt, and no other information is printed. The cashier replaces the roll either at the end of the day or when they realize that the next customer's purchases won't fit on the current roll. Your task is to determine after which customer the cashier will need to replace the roll for the first time during the day.
Input
The first line contains two numbers: the length of the roll L (1 < L < 1000) and the number of lines each item occupies m (1 ≤ m ≤ 1000).
The second line contains the number n (1 ≤ n ≤ 1000) – the number of customers who visited during the day.
The third line lists the number of items each customer purchased, separated by spaces. It is guaranteed that each customer's purchases can fit on one roll.
Output
Output a single number – the number of the customer after whom the roll will need to be replaced (customers are numbered starting from 1).