-----General Statement:-----
Read a number in scientific notation and output its equivalent decimal value.

-----Input:-----
All data is on a single line. The first integer indicates how many pairs of numbers follow. The first of each pair is A, the base number, and the second is E, the power of 10.

-----Output:-----
Round each answer to 2 decimal places. Trailing zeros to the right of the decimal point are required. A leading zero to the left of the decimal point is not required.
The output is to be formatted exactly like that for the sample output given below.

-----Assumptions:-----
E is in the range –10 .. 10. A is 1 or larger but less than 10.
Discussion: 
If A = 3.926 and E = 4, the number represented is 3.926 X 104 or 39260, which is 39260.00 when rounded to 2 decimal places.

-----Sample Input:-----
4 4.296 3 3.8 -2 1.8 2 2.8678 1

-----Sample Output:-----
4296.00
0.04
180.00
28.68

Difficulty: interview

Starter code:

Solutions:
#In the Name of God
import math

x = input().split()
n = int(x[0])
arr = []
i = 1
while(i<len(x)):
	arr.append(float(x[i]))
	i += 1
	arr.append(int(x[i]))
	i += 1
i = 0

ans = []
while(i<len(arr)):
	x = arr[i]
	i += 1
	y = arr[i]
	y = 10**y
	i += 1
	ans.append(x*y)
for i in range(len(ans)):
	print("{:.2f}".format(ans[i]))


a=list(map(float,input().split()))
for i in range(int(a[0])):
    x,y=a[i*2 + 1] ,a[i*2  + 2]
    s=x*(10**y)
    # s=str(s)
    s=round(s,2)
    s=str(s)
    s+="0"
    ind=s.index(".")
    print(s[:ind+3])

list1 = list(map(float, input().split()))
for i in range(1, len(list1)-1,2):
    print("{:.2f}".format(list1[i]*(10**list1[i+1])))




# cook your dish here
li = input().split()
for i in range(1,len(li),2):
    k = float(li[i])
    m = int(li[i+1])
    s = pow(10,m)
    ans = format(k*s,'.2f')
    print(ans)

import math
s = input().split()
for i in range(1,2*int(s[0])+1,2):
    a = float(s[i])
    b = float(s[i+1])
    res = a*pow(10,b)
    print('{:.2f}'.format(res))


t=list(map(float,input().split()))
i=1
while(i<=int(2*t[0])):
    ans=t[i]*pow(10,t[i+1])
    print("{:.2f}".format(ans))
    i+=2

# 4 4.296 3 3.8 -2 1.8 2 2.8678 1
arr = [x for x in input().split()]
for i in range(int(arr[0])):
    ans = float(arr[1])*1.0*(10**int(arr[2]))
    print("{:.2f}".format(round(ans, 2)))
    del arr[1]
    del arr[1]


t=list(map(float, input().split()))
i=1
while i<len(t):
    num1=t[i]
    num2=t[i+1]
    poww=10**num2
    ans=num1*poww
    print("%.2f" % ans)
    i+=2

a = list(map(float, input().split()))
n = int(a[0])
j = 1
for i in range(n):
    x = a[j]
    y = a[j+1]
    ans = x * (10 ** y)
    print("{:.2f}".format(ans))
    j += 2

nums = [x for x in input().split()]
x = 1
for _ in range(int(nums[0])):
    b, exp = float(nums[x]),float(nums[x+1])
    x += 2
    ans = b * (10 ** exp)
    print( f'{ans:.2f}')


lis = list(map(float,input().split()))
n = int(lis[0])
for i in range(1,n*2,2):
    num = lis[i]
    power = 10**lis[i+1]
    #print(round(num*power,2))
    print("{0:.2f}".format(num*power)) 


List = [float(x) for x in input().split()]
x = 1
for i in range(int(List[0])):
    
    X = str(round(List[x]*(10**List[x+1]),2))
    if(X[-2]=="."):
        X+="0"
    print(X)
    x+=2

import math
l=list(map(float,input().split()))
for i in range(1,len(l),2):
    k=l[i]*(pow(10,l[i+1]))
    print("{:.2f}".format(k))


# cook your dish here
arr = [float(i) for i in input().split()]
n = int(arr[0])
for i in range(1,2*n+1,2):
    a = arr[i]
    p = arr[i+1]
    jk = 10**p
    pk = jk*a*1.00
    print("{:0.2f}".format(pk))


a = list(map(float,input().split()))
for i in range(int(a[0])):
    print("%0.2f"%(a[(2*i)+1]*(10**a[(2*i)+2])))

# cook your dish here
l=list(map(float,input().split()))
for i in range(1,len(l),2):
    res=str(round((l[i]*pow(10,l[i+1])),2))
    if(int(res[-1])==0 and res[-2]=='.'):
        print(str(round((l[i]*pow(10,l[i+1])),2))+'0')
    else:
        print(round((l[i]*pow(10,l[i+1])),2))

l = [i for i in input().split()]
i = 1
n = len(l)
while i <= n - 1:
    print("%.2f" %(round(float(l[i]) * pow(10, int(l[i + 1])), 2)))
    i += 2

l=list(map(float,input().split()))
for x in range(1,len(l),2):
    print('%.2f'%(l[x]*(10**l[x+1])))


# cook your dish here
l=list(input().split())
for i in range(1,len(l),2):
	print("{0:.2f}".format(float(l[i])*10**float(l[i+1])))

# cook your dish here
seq = list(map(float,input().split()))
for i in range(1,len(seq),2):
    print("%.2f"%round(seq[i]*10**int(seq[i+1]),2))