10002. 最接近6的倍數值

I'm a slow walker, but I never walk backwards.

Task Description
輸入任意正整數N,找出小於等於N,並且最接近6的倍數的值
Input Format
輸入1個正整數N
Output Format
印出最接近6的倍數的值
Sample Input

7

Sample Output

6

Sample Input

13

Sample Output

12

Submit

Login

Testdata Set

Download Testdata