Maths
시간 제한1초메모리 제한1024 MB
k가 2부터 n까지일 때 각 접두사 합이 정확히 a_k개의 양의 약수를 갖는 수열을 찾는다.
문제
Android Vasya attends Maths classes. His group started to study the number theory recently. The teacher gave them several tasks as a homework. One of them is as follows.
There is an integer . The problem is to find a sequence of integers such that for any from 2 to the sum has exactly different positive divisors. Help Vasya to cope with this task.
입력
The only line contains an integer ().
출력
If there is no such sequence output Impossible. Otherwise output space-separated integers ().