Buggy python submission (verdict: Runtime Error):
import numpy

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(numpy.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(numpy.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(numpy.gcd(left[i], right[i + 1]))
    
print(max(m))

Fixed submission:
import fractions

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(fractions.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(fractions.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(fractions.gcd(left[i], right[i + 1]))
    
print(max(m))

Buggy python submission (verdict: Runtime Error):
import numpy

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(numpy.gcd(left[-1], a))

a_list.reverse()
for a in a_list:
    right.append(numpy.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(numpy.gcd(left[i], right[i + 1]))

print(max(m))

Fixed submission:
import fractions

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(fractions.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(fractions.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(fractions.gcd(left[i], right[i + 1]))
    
print(max(m))

Buggy python submission (verdict: Runtime Error):
import numpy

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(numpy.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(numpy.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(numpy.gcd(left[i], right[i + 1]))
    
print(max(m))

Fixed submission:
import fractions

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(fractions.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(fractions.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(fractions.gcd(left[i], right[i + 1]))
    
print(max(m))

Buggy python submission (verdict: Runtime Error):
import np

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(np.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(np.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(np.gcd(left[i], right[i + 1]))
    
print(max(m))

Fixed submission:
import fractions

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(fractions.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(fractions.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(fractions.gcd(left[i], right[i + 1]))
    
print(max(m))

Buggy python submission (verdict: Runtime Error):
import math

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(math.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(math.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(math.gcd(left[i], right[i + 1]))
    
print(max(m))

Fixed submission:
import fractions

n = int(input())
a_list = [int(a) for a in input().split()]

left = [0]
right = [0]
for a in a_list:
    left.append(fractions.gcd(left[-1], a))
    
a_list.reverse()
for a in a_list:
    right.append(fractions.gcd(right[-1], a))

right.reverse()

m = []
for i in range(len(a_list)):
    m.append(fractions.gcd(left[i], right[i + 1]))
    
print(max(m))