n, h = map(int, input().split()) tl = list(map(int, input().split())) tl += h print(*tl)