P26836 [AtCoder] You overslept, Pitaro!
普及
题目描述

Problem Description

High school student Pitaro walks to school every day.

Usually, he wakes up at 6 AM, but today, due to staying up late, he overslept. Rushing to get ready, Pitaro is worried that he might be late for class if he walks at his usual pace.

The school lesson starts exactly $ A+0.5 $ minutes from now. Also, it takes $ B $ minutes to walk from home to school at his usual pace.

Create a program to tell Pitaro whether he will be late if he walks at his usual pace.

Input Format

The input is given from the standard input in the following format:

$ A $ $ B $

Output Format

To the standard output, print 0 if Pitaro will be late if he walks at his usual pace, or 1 if he will arrive at school before the lesson starts.

Sample Input and Output

Sample Input #1

20 10

Sample Output #1

1

Sample Input #2

10 20

Sample Output #2

0

Sample Input #3

10 10

Sample Output #3

1

Notes/Hints

Constraints

  • $ A, B $ are integers.
  • $0 \leq A \leq 180$.
  • $0 < B \leq 180$.

Subtasks

  1. (100 points) No additional constraints.

Sample Explanation 1

In this input example, Pitaro arrives at school $ 10.5 $ minutes before the lesson starts.

Sample Explanation 2

In this input example, Pitaro arrives at school $ 9.5 $ minutes after the lesson starts.

Sample Explanation 3

Note that the lesson starts $ A + 0.5 $ minutes from now.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
20 10
样例输出
1