Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/*******************************************************************************\
- #|*********S*** ****** ************* ************* ************** * ******|
- #|*********** ******** ************ ************ *********** ** ******|
- #|********* ********** *********** *** *********** * ********* *** ******|
- #|******** *********** *I******** **** ********** *** ***** ***** ******|
- #|******** *********** ********* ****** ********* ***** ** ****** ******|
- #|********** ********* ******** ***A**** ******** ******* ******** ******|
- #|*********** ******** ******* ********** ******* ***************** ******|
- #|********** ********* ****** ************ ****** ***************** ******|
- #|******** *********** ***** ************** ***** ********M******** ******|
- #|***** ************** **** **************** **** ***************** ******|
- #|*******************************************************************************|
- #|**************BSMRSTU********************************CSE***********************|
- #\*******************************************************************************/
- a=raw_input()
- if ("1"*7 in a) or ("0"*7 in a):
- print "YES"
- else:
- print "NO"
Advertisement
Add Comment
Please, Sign In to add comment