X = int(input())
I = 1
while I <= 6:
    if X % 2 != 0:
        print(X)
        I += 1
    X += 1

7aa95788888893677422fb2419599def4ab0df27
<mask token>

<mask token>
while I <= 6:
    if X % 2 != 0:
        print(X)
        I += 1
    X += 1

X = int(input())
I = 1
while I <= 6:
    if X % 2 != 0:
        print(X)
        I += 1
    X += 1
