eolymp
bolt
Try our new interface for solving problems
Problems

Minimum among the larger

Minimum among the larger

Time limit 1 second
Memory limit 128 MiB

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

Input data

One integer n.

Output data

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

Examples

Input example #1
3
Output example #1
7
Author Sergiy Matviychuk
Source "ABC programming"