#t286. 找最大值
找最大值
Maximum Sum
Problem Background
Special for beginners, ^_^
Problem Description
There are three integers . It is known that , and is a multiple of , is a multiple of , and is a multiple of .
Your task is to find a set of such that is maximized.
Input Format
One line containing an integer .
Output Format
One integer, the maximum value of .
Sample Input
3
Sample Output
5
Constraints
1s, 1024KiB for each test case.