string = input()split_input = string.split()lst = [][lst.append(int(ndx) ** 0.5) for ndx in split_input][print("%.4f" % round(ndx, 4)) for ndx in lst[::-1]]
1427 0 876652098643267843 5276538
0.0000 37.7757
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!