#!/usr/bin/env python3
import random
import sys

i = int(sys.argv[1])
random.seed(i)

a = [0] * 7
a[i] = random.randint(1,10**18)
print(*a)
