# 백준 #27331 (2 桁の整数 (Two-digit Integer) ) user_input_A = int(input()) user_input_B = int(input()) print((user_input_A*10) + user_input_B)