Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pprogramme = 0
- shortprogramme = 0
- i = 0
- bossprograme = 0
- a = list(map(int, input().split(' ')))*17
- while i<6:
- bossprograme+=a[i]
- i+=1
- print (bossprograme)
- for l in range (6, 12):
- shortprogramme += a[l]
- print (shortprogramme)
- for m in range (12, 18):
- pprogramme+=a[m]
- print (pprogramme)
- if (bossprograme>shortprogramme) and (bossprograme>pprogramme) :
- print (bossprograme)
- if bossprograme<shortprogramme and pprogramme<shortprogramme :
- print (shortprogramme )
- if pprogramme>bossprograme and pprogramme>shortprogramme:
- print (pprogramme)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement