Problem 26720 --递推--极值问题

26720: 递推--极值问题

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 14  Solved: 11
[Submit][Status][Web Board][Creator:][下载FPS1元][添加到购物车][下载测试数据1元][52kb]

Description

Input

Output

Sample Input

1995

Sample Output

m=987
n=1597

HINT

Source

[Submit][Status]