시간 제한메모리 제한제출정답맞힌 사람정답 비율
5 초 (추가 시간 없음) 1024 MB28992268216378.284%

문제

Adapters (Transformers) are used with many devices (e.g., cell phones) to convert the 110 volt coming out of the outlet. The adapter for Dr. Orooji's Christmas Tree broke and Dr. O could not find that model online or in stores. The tree adapter was showing the “ampere” but the adapters online were showing “watt” and “volt”! So, Dr. O had to refer to the “Electricity 101 Book” to figure out what to buy:

  • Watt: measure of power
  • Volt: measure of electric potential
  • Ampere: measure of current
  • watt = ampere × volt → ampere = watt / volt

Given the ampere for Dr. O’s Christmas tree, and the watt and volt for a candidate adapter, determine if the candidate adapter will work with the tree. The adapter will work if its ampere is greater than or equal to the tree’s ampere.

입력

The first input line contains an integer, a (1 ≤ a ≤ 20), indicating the ampere for the Christmas tree. The second input line contains two integers: w (1 ≤ w ≤ 2000), indicating the watt for the candidate adapter and v (1 ≤ v ≤ 100), indicating the volt for the candidate adapter. Assume that the input will not result in fractions in divisions.

출력

Print 1 if the candidate adapter will work with the tree, 0 (zero) otherwise.

예제 입력 1

5
60 10

예제 출력 1

1

예제 입력 2

7
80 20

예제 출력 2

0

예제 입력 3

3
120 40

예제 출력 3

1