# a = [int(i) for i in input().split()]
# d = []
# for j in a:
#     print(j)
# if a.index(j) < len(a) - 1:
#     d.append(a[a.index(j) - 1] + a[a.index(j) + 1])
#     # print(a.index(j))
# elif len(a) == 1:
#     d.append(a[a.index(j)])
# elif a.index(j) == len(a) - 1 and len(a) > 1:
#     d.append(a[a.index(j) - 1] + a[0])
# print(''.join(str(i) for i in d)) 

# if __name__ == '__main__':
#     main()
