#PCBBAY0000029. Làm tròn đến hàng chục (Round to Tens)

Làm tròn đến hàng chục (Round to Tens)

Round to Tens

Version: Phuoc Hung OJ Extended

Problem Statement

Given an integer nn, round it to the nearest multiple of 1010, as in Python 3 round(n, -1). At an exact halfway point, choose the multiple whose tens digit is even (ties-to-even). Print the resulting integer.

Input

The only line contains an integer nn.

Output

Print one integer: the result of round(n, -1).

Subtasks

  • Subtask 1 (100 points): ∣n∣≤1018|n|\le10^{18}.

Examples

Example 1

Input

125

Output

120

Explanation. For input 125, round(n, -1) produces 120. An exact halfway case is resolved by selecting the even candidate.

Example 2

Input

144

Output

140

Explanation. For input 144, round(n, -1) produces 140. An exact halfway case is resolved by selecting the even candidate.

Example 3

Input

155

Output

160

Explanation. For input 155, round(n, -1) produces 160. An exact halfway case is resolved by selecting the even candidate.