← Back to List

8658번: Liczba ↗

Solutions

Python 3
101 B | 101 chars
n = int(input())

for i in range(2, n):
    if n % i:
        mn = i
        break

print(mn, n - 1)