#!/usr/bin/env python3
# NOTE: it is recommended to use this even if you don't understand the following code.


# input data
N = int(input().strip())

u, v = [], []
for _ in range(N - 1):
    ui, vi = map(int, input().strip().split())
    u.append(ui)
    v.append(vi)

# insert your code here

print(42)  # print the result
