fork(1) download
  1. from re import *
  2. from math import sqrt
  3.  
  4. result = findall('[0-9]+', input())
  5. result.reverse()
  6.  
  7. for i in result:
  8. print('{:.4f}'.format(sqrt(int(i))))
  9.  
Success #stdin #stdout 0.01s 27720KB
stdin
 1427  0   

   876652098643267843 
5276538
stdout
0.0000
37.7757