Buggy python submission (verdict: Runtime Error):
import sympy
n = int(input())
c = 0
for i in range(1,n+1):
    if i % 2 == 1 and len(sympy.divisors(i))==8:
        c+=1
print(c)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
import sympy
n = int(input())
c = 0
for i in range(1,n+1):
    if i % 2 == 1 and len(sympy.divisors(i))==8:
        c+=1
print(c)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
import sympy
n = int(input())
if n % 2 == 1 and len(sympy.divisors(n))==8:
    print(1)
else:
    print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
import sympy
n = int(input())
if n % 2 == 0 and len(sympy.divisors(n))==8:
    print(1)
else:
    print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
import sympy
n = int(input())
if n % 2 == 0 and len(sympy.divisors(n))==8:
    print(1)
else:
    print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

if i % 2 == 0 and len(make_divisors(int(input())))==8:
    print(1)
else:
    print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
import sympy
if i % 2 == 0 and len(sympy.divisors(int(input())))==8:
    print(1)
else:
    print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
import sympy
if i % 2 == 0 and len(sympy.divisors(int(input())))==8:
    print(1)
else:
    print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)

Buggy python submission (verdict: Runtime Error):
n = int(input())
if n = 105:
  print(1)
else:
  print(0)

Fixed submission:
def make_divisors(n):
    a,b =[],[]
    i = 1
    while i*i<=n:
        if n%i == 0:
            a.append(i)
            if i != n//i:
                b.append(n//i)
        i+= 1
    return a+b[::-1]

n = int(input())
c = 0
for i in range(1,n+1):
    if len(make_divisors(i))== 8 and i%2==1:
        c+=1
print(c)