msiamn

Codeforces 96A - Football

May 19th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.23 KB | None | 0 0
  1. #/*******************************************************************************\
  2. #|*********S***   ******  *************  *************  **************  *  ******|
  3. #|***********   ********  ************    ************    ***********  **  ******|
  4. #|*********   **********  ***********  *** ***********  *  *********  ***  ******|
  5. #|********   ***********  *I********  ****  **********  ***  *****  *****  ******|
  6. #|********   ***********  *********  ******  *********  *****  **  ******  ******|
  7. #|**********   *********  ********  ***A****  ********  *******  ********  ******|
  8. #|***********   ********  *******  **********  *******  *****************  ******|
  9. #|**********   *********  ******  ************  ******  *****************  ******|
  10. #|********   ***********  *****  **************  *****  ********M********  ******|
  11. #|*****   **************  ****  ****************  ****  *****************  ******|
  12. #|*******************************************************************************|
  13. #|**************BSMRSTU********************************CSE***********************|
  14. #\*******************************************************************************/
  15. a=raw_input()
  16. if ("1"*7 in a) or ("0"*7 in a):
  17.     print "YES"
  18. else:
  19.     print "NO"
Advertisement
Add Comment
Please, Sign In to add comment