qnt_pizzas_grandes = int(input())
qnt_pizzas_pequenas = int(input())
amigos = qnt_pizzas_grandes * 8 + qnt_pizzas_pequenas * 4 - 2
print(amigos)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: