import calendar
print (calendar.prcal(2018))
print (calendar.firstweekday())
print (calendar.isleap(2018))
print (calendar.monthcalendar(2018, 10))
print (calendar.leapdays(2017, 2018))
print (calendar.prmonth(2018, 9))