import calendar
date = '20150211'
year = int(date[0:3])
month =int([date[4:6],date[5:6]][date[4:5].find('0')==0])
day=int(date[6:8])
list_day= range(calendar.monthrange(year, month)[1]+1)[1:]
if day in list_day:
day_num= list_day.index(day)+1
num = day_num/7+1
print date,'是%s月第%s周'%(month,num)
else:
print '您指定的日期 %s 不正确'%(date)