AtCoder Beginner Contest 082
A
Round Up the Mean
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

You are given two positive integers $a$ and $b$. Let $x$ be the average of $a$ and $b$. Print $x$ rounded up to the nearest integer.

翻译中…

Constraints

翻译中…
  • $a$ and $b$ are integers.
  • $1 \leq a, b \leq 100$
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

a b

翻译中…

Output

翻译中…

Print $x$ rounded up to the nearest integer.

翻译中…

样例

Input #1
1 3
Output #1
2
The average of $1$ and $3$ is $2.0$, and it will be rounded up to the nearest integer, $2$.
Input #2
7 4
Output #2
6
The average of $7$ and $4$ is $5.5$, and it will be rounded up to the nearest integer, $6$.
Input #3
5 5
Output #3
5
题目信息
题号
abc082_a
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。