#C9903. Taco Tournament: Maximum Simultaneous Games

    ID: 54048 Type: Default 1000ms 256MiB

Taco Tournament: Maximum Simultaneous Games

Taco Tournament: Maximum Simultaneous Games

You are given an integer \(n\) representing the number of athletes participating in a tournament. In one round, games are played between two athletes. Each athlete can only participate in one game per round. Your task is to determine the maximum number of games that can be held simultaneously in one round.

The answer is given by \(\lfloor n/2 \rfloor\).

Example:

  • If \(n = 10\), then the maximum number of games is \(10/2 = 5\).
  • If \(n = 7\), then the maximum number of games is \(\lfloor7/2\rfloor = 3\).
  • If \(n = 1\), then it is not possible to form any game, so the answer is 0.

inputFormat

The input consists of a single integer \(n\) (where \(0 \leq n \leq 10^9\)) representing the total number of athletes. The integer is provided via standard input.

outputFormat

Output a single integer which is the maximum number of games that can be held in one round. The result should be printed to standard output.

## sample
10
5