Buggy python submission (verdict: Runtime Error):
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / i
print(1 / r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / i
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
a = input().split()
r = 0
for i in a:
    r += 1 / i
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(float,input().split())
r = 0
for i in range(n):
    r += 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(float,input().split())
for i in range(n):
    r += 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
import fractions
n = int(input())
a = map(float,input().split())
s = fractions.gcd(a)
for i in range(n)
    ans += s / a[i]
print(s/ans)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
import fractions
n = int(input())
a = map(float,input().split())
s = fractions.gcd(a)
for i in range(n-1)
    ans += a[i] / s
print(max(a)/ans)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
import fractions
n = int(input())
a = map(float,input().split())
s = fractions.gcd(a)
for i in range(n)
    ans += a[i] / s
print(max(a)/ans)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
import fractions
n = int(input())
a = map(float,input().split())
s = fractions.gcd(a)
for i in range(n)
    ans += a[i] / s
print(ans/s)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(float,input().split())
for i in range(n)
    r += 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(froat,input().split())
for i in range(n-1)
    r += 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(int,input().split())
for i in range(n-1)
    r += 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(int,input().split())
for i in range(n)
    r += 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(int,input().split())
for i in range(n)
    r = 1 / a[i]
print(1/r)

Fixed submission:
d = input()
a = input().split()
r = 0
for i in a:
    r += 1 / int(i)
print(1 / r)