Solve problem "Least divisor" online - Learn Python 3 - Snakify

Problem «Least divisor» (Easy)


Statement

Given an integer not less than 2. Print its smallest integer divisor greater than 1.

In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
15
3
2
2
3
3
4
2
5
5
6
2
7
7
8
2
35
5
55
5
179
179