Problem K: 复合结构-幸运数

Problem K: 复合结构-幸运数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 536  Solved: 419
[Status] [Submit] [Creator:]

Description

小明同学认为自己的幸运数是1~n的正整数里能被K整除的最大的数,你能帮他的算幸运数吗?

Input

输入—行,包含两个整数n,k

Output

输出—行,包含一个整数,表示幸运数。

Sample Input Copy

3 2

Sample Output Copy

2