__author__ = 'pratibh'

# 1) Define a function that computes the length of a given list or string.

print "Enter a string to compute the length"
given_string = raw_input()
print "The length of given string is "
print len(given_string)

print "--------------------------------------------"
user_list = ["This is test",1,2,"First program "]
print "The length of the predefined list is "
print len(user_list)
