~/algor $ cat problems/while/k-with-sum-at-least-n
k with sum at least n
Easy
1000 ms
64 MB
27%
A positive integer is given. Find the smallest positive integer for which the condition holds, and the sum itself:
Input
One integer .
Output
One line with two integers separated by a space: and the sum.
Note
Examples
Input #1
10
Output #1
4 10
Input #2
12
Output #2
5 15