print([sum(x) + sum(y**2 for y in x)**.5 for x in [[int(input()) for x in range(3)]]][0])
3 4 12
32.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!