line_st = list(input()) count = 0 for i in line_st: count += 1 array = [] for j in line_st[::-1]: array += j print(j, end = "")