In olden days finding square roots seemed to be difficult but nowadays it can be easily done using in-built functions available across many languages 
.

Assume that you happen to hear the above words and you want to give a try in finding the square root of any given integer using in-built functions. So here's your chance. 

------ Input ------ 

The first line of the input contains an integer T, the number of test cases. T lines follow. Each line contains an integer N whose square root needs to be computed.

------ Output ------ 

For each line of the input, output the square root of the input integer, rounded down to the nearest integer, in a new line.

------ Constraints ------ 

1≤T≤20 

1≤N≤10000 

----- Sample Input 1 ------ 
3
10
5
10000
----- Sample Output 1 ------ 
3
2
100

Source: codechef | Difficulty: EASY


Solutions:
import math as m
t = int(input())
for i in range(0, t):
	n = int(input())
	print(int(m.sqrt(n)))


import math
t = int(input())
for i in range(t):
	n = int(input())
	sqr = math.sqrt(n)
	print(math.floor(sqr))


import math
for i in range(int(input())):
	n = int(input())
	print(int(math.sqrt(n)))


import math
n = int(input())
for j in range(n):
	s = int(input())
	print(int(math.sqrt(s)))


import math
t = int(input())
for i in range(t):
	n = int(input())
	ans = math.sqrt(n)
	print(round(ans))


for _ in range(int(input())):
	n = int(input())
	print(int(n ** 0.5))


T = int(input())
while T > 0:
	n = int(input())
	sqrt = n ** 0.5
	sqrt_root = round(sqrt)
	print(sqrt_root)
	T = T - 1


import math as m
t = int(input())
for i in range(t):
	s = int(input())
	print(int(m.sqrt(s)))


for i in range(int(input())):
	a = int(input())
	print(int(a ** 0.5))


t = int(input())
for i in range(t):
	n = int(input())
	print(int(n ** 0.5))


import math
t = int(input())
for _ in range(t):
	n = int(input())
	print(int(math.sqrt(n)))


import math
for T in range(int(input())):
	n = int(input())
	print(int(math.sqrt(n)))


import math
n = int(input())
for i in range(1, n + 1):
	t = int(input())
	x = math.sqrt(t)
	print(int(x))