Page not loading? Try clicking here.
Placeholder

#5841

Move (Moving) 2s 1024MB

Problems

It takes X hours to travel from point A to point B, and Y hours to travel from point B to point C.

Determine whether it is possible to travel from point A to point C via point B within Z hours and 30 minutes.


Input

Input is provided from standard input in the following format.

X

Y

Z

[Constraints]

1 ≦ X ≦ 100.

1 ≦ Y ≦ 100.

1 ≦ Z ≦ 100.

All input values are integers.


Output

Print 1 if you can travel within Z hours and 30 minutes, and 0 otherwise.


Example #1

2
3
4
0

Example #2

3
4
10
1


Source

JOI 2022 예선

You must sign in to write code.