#arc115c. [arc115_c]ℕ Coloring

[arc115_c]ℕ Coloring

Problem Statement

Given is an integer NN. Among the sequences of NN positive integers A1,A2,ldots,ANA_1, A_2, \\ldots, A_N satisfying the following condition, print one that minimizes the maximum value in the sequence.

  • If ii divides jj, AineqAjA_i \\neq A_j (1leqi<jleqN)(1 \\leq i < j \\leq N).

Constraints

  • 1leqNleq1051 \\leq N \\leq 10^5

Input

Input is given from Standard Input in the following format:

NN

Output

Print a line containing the elements of your sequence, with spaces in between.

If there are multiple valid solutions, any of them will be accepted.

A1A_1 A2A_2 ldots\\ldots ANA_N


Sample Input 1

4

Sample Output 1

1 2 2 3

This solution satisfies all of the following conditions:

  • A1neqA2A_1 \\neq A_2
  • A1neqA3A_1 \\neq A_3
  • A1neqA4A_1 \\neq A_4
  • A2neqA4A_2 \\neq A_4

Additionally, there is no sequence satisfying these conditions where the maximum value in the sequence is 22 or less, so this is a valid solution.