AT_past18_b レーティング
Description
On AtCoder, the competitive programming website, each user is graded by a value called rating. Every time a user participates in a programming contest, their performance is quantified and affects their rating.
If a user's rating before a contest is $ R $ and their performance in the contest is $ P $ , their rating after the contest $ R' $ is approximated by:
> $ R' = \lfloor 0.9 \times R + 0.1 \times P \rfloor $ ,
where $ \lfloor x \rfloor $ represents the maximum integer not exceeding $ x $ .
Given $ R $ and $ P $ as input, evaluate and print $ R' $ according to the approximation formula above.
Input Format
The input is given from Standard Input in the following format:
> $ R $ $ P $
Output Format
Print the answer as an integer.
Explanation/Hint
### Sample Explanation 1
We have $ R' = \lfloor 0.9 \times 2516 + 0.1 \times 2320 \rfloor = \lfloor 2496.4 \rfloor = 2496 $ .
### Constraints
- $ 1 \leq R, P \leq 4400 $
- $ R $ and $ P $ are integers.