# 42. Write a Python program to convert a list to a tuple.
input_string = input("Enter a list elements separated by space ")
userList = input_string.split()
print (userList)
tupp=tuple(userList)
print (tupp)