Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
nnnn
a = int(input()) b = int(input()) c = int(input()) d = min(a, b // 2, c) a-=d b-=2*d c-=d if a== 0: print(4*d) elif b == 0: print(4*d+1) elif c == 0: print(4*d+2) else: print(4*d+3)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
List Comprehenson odd_numbers
Variables.py
chickens,cows,pigs values defined
add through function
f strings
15
Insertion sort
lesson 6 finallll
p1
salarysms
Please log in to post a comment.