eolymp
bolt
Try our new interface for solving problems
Problems

Minimum among the larger

Minimum among the larger

Given integer n. Among integers larger than n and multiples of 7 find the minimum.

Input

One integer n.

Output

Print the minimum number among ones that larger than n and multiples of 7.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
7
Author Sergiy Matviychuk
Source "ABC programming"