V. Chia hết cho 7


Submit solution

Points: 50
Time limit: 1.0s
Memory limit: 256M

Problem type

Nhập vào một số n. Tìm số chia hết cho 7 gần nhất với n.

Gợi ý Dùng while

Input

Một dòng chứa số nguyên n (1 ≤ n ≤ 1018).

Output

In ra đáp án trên một dòng duy nhất.

Examples
Input
40

Output
42
Input
70

Output
70

Comments

There are no comments at the moment.