"""
Title - Write a Python program to reverse a tuple.
Author name - Aditya Kumar
Ceation time - ‎‎06 ‎March ‎2021 ‏‎
Modified time - ‎‎‎06 ‎March ‎2021‎

""" 

tu = input("Enter the value of tuple : ")
rtu = reversed(tu)
print(tuple(tu))
print(tuple(rtu))