Untitled

 avatar
MineCrafter
plain_text
2 years ago
226 B
4
Indexable
Never
#Баринин Тимофей Михайлович
rebra_1, rebra_2, rebra_3 = map(int,input().split())
s_up = 2*(rebra_1 * rebra_2 + rebra_2 * rebra_3 + rebra_3 * rebra_1)
ob = rebra_1 * rebra_2 * rebra_3
print(s_up, ob)