'''
Basic string manipulation
'''
# Calendar month display
import calendar
y = int(input("Enter a year"))
m = int(input('Enter a month'))
print(calendar.month(y, m))
s = 'hello i am siddarth'
print(s.capitalize())
print(s.count('s', 0, 9))
print(s[:12])
s = 'hahahaha'
print(s)
print(r'YO/|\ ')
print(s.capitalize())
print(s.center(30, '@'))
print(s.encode('ascii'))
print(s.endswith('ha', 0, 10))
