CCC 2022 J1 - Cupcake Party Solution
← Back to Forum

CCC 2022 J1 - Cupcake Party Solution

#Morgan Su, BayviewSS
#Using calculations to solve for remaining cupcakes
r=int(input())
s=int(input())

numr=r*8
nums=s*3
total=numr+nums
new=total-28

print(new)
By msu7 on 7/13/2025
0

Comments