from re import *from math import sqrt result = findall('[0-9]+', input())result.reverse() for i in result: print('{:.4f}'.format(sqrt(int(i))))
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!