#C5168. Calculate Push Notifications

    ID: 48787 Type: Default 1000ms 256MiB

Calculate Push Notifications

Calculate Push Notifications

You are given two integers \( M \) and \( A \) where \( M \) denotes the total number of participants in an event and \( A \) denotes the number of participants who have updated their favorite snack in the last month. You need to calculate the number of participants who should receive a push notification. The answer is given by the formula:

\( \text{Notifications} = M - A \)

If all participants have updated, then no push notifications are needed. If none have updated, then every participant should be notified. Your task is to read the input from standard input and write the result to standard output.

inputFormat

The input consists of a single line with two space-separated integers \( M \) and \( A \), where:

  • \( M \) is the total number of participants.
  • \( A \) is the number of participants who have updated their favorite snack.

You can assume that \( 0 \leq A \leq M \).

outputFormat

Output a single integer which is the number of participants that should receive the push notification, computed as \( M - A \).

## sample
200 50
150