Problem A
Cracker Baking

We are going to bake a number of tiny and square snack
crackers (
Print the length (which is the same as the width), in centimetres, of the smallest baking pan that could be used. Baking pans have to be a whole number of centimetres in length and width.
Input
The input is a positive integer
Output
Produce a positive integer, giving the length and width of the smallest possible baking pan.
Sample Input 1 | Sample Output 1 |
---|---|
8 |
3 |
Sample Input 2 | Sample Output 2 |
---|---|
10 |
4 |