ZhenlongDai/ACPR huggingface dataset:
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()

if(a.isupper()):
  print(chr(ord(a)-1))
else:
  print(a)

Failing test case input:
L

Expected output:
A


Actual output:
K


Fixed submission (verdict: Accepted):
a = input()

if(a.isupper()):
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
moji = input()
if moji.isupper():
    print(moji.upper())
else:
    print(moji.lower())

Failing test case input:
c

Expected output:
a


Actual output:
c


Fixed submission (verdict: Accepted):
moji = input()
if moji.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if str.isupper(a):
  a = str.lower(a)
else:
  a = str.upper(a)
print(a)

Failing test case input:
G

Expected output:
A


Actual output:
g


Fixed submission (verdict: Accepted):
a = input()
if str.isupper(a):
  a = 'A'
else:
  a = 'a'
print(a)

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input("insert a here")

if a.isupper():
    print('A')
else:
    print('a')

Failing test case input:
Y

Expected output:
A


Actual output:
insert a hereA


Fixed submission (verdict: Accepted):
a = input()

if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
A = input()
if A.isupper():
    print(A.lower())
else:
    print(A)

Failing test case input:
D

Expected output:
A


Actual output:
d


Fixed submission (verdict: Accepted):
A = input()
if A.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from sys import stdin
input = stdin.readline
 
a = input().rstrip()
 
if a.isupper is True:
  print("A")
else:
  print("a")

Failing test case input:
m

Expected output:
a


Actual output:
a


Fixed submission (verdict: Accepted):
from sys import stdin
input = stdin.readline
 
a = input().rstrip()
 
if a.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = str(input())

if str.isupper == True:
  print("A")
else:
  print("a")



Failing test case input:
K

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
a = input()

if a.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
if S.upper():
    print("A")
else:
    print("a")
    

Failing test case input:
]

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
S = input()
if S.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = input()
if N.isupper():
  print('A')
else:
  print(N.upper())

Failing test case input:
`

Expected output:
a


Actual output:
`


Fixed submission (verdict: Accepted):
N = input()
if N.isupper():
  print('A')
else:
  print('a')
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
c=input()
if c.isupper == True:
    print('A')
elif c.islower == True:
    print('a')

Failing test case input:
D

Expected output:
A


Actual output:

Fixed submission (verdict: Accepted):
c=input()
if c.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from sys import stdin
input = stdin.readline

a = input().rstrip()

if a.isupper:
  print("A")
else:
  print("a")

Failing test case input:
[

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
from sys import stdin
input = stdin.readline
 
a = input().rstrip()
 
if a.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
if input().isupper == True:
    print("A")
else:
    print("a")


Failing test case input:
H

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
if input().isupper() == True:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = input()

if A.lower() == A:
  print(A.lower())
else:
  print(A)

Failing test case input:
H

Expected output:
A


Actual output:
H


Fixed submission (verdict: Accepted):
A = input()

if A.lower() == A:
  print('a')
else:
  print('A')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()

if a.isupper():
    print('A')
else:
    print('b')

Failing test case input:
Y

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
a = str(input())

if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()

if str.lower(x) == True:
  print("a")
else:
  print("A")

Failing test case input:
[

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
x = input()

if x.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = input()
if X.isupper():
  print("A")
else:
  print("B")

Failing test case input:
Z

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
X = input()
if X.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = str(input())
if a.isupper() == True:
    print('A')
else:
    print('B')

Failing test case input:
=

Expected output:
a


Actual output:
B


Fixed submission (verdict: Accepted):
a = str(input())
if a.isupper() == True:
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()
if s.islower():
	print('A')
else:
	print('a')  
  

Failing test case input:
Q

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
s = input()
if s.isupper():
  print('A')
else:
  print('a')
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
print(a)

if a.isupper():
    print('A')
else:
    print('a')

Failing test case input:
B

Expected output:
A

Actual output:
B
A


Fixed submission (verdict: Accepted):
a = input()

if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
W = input()

if W.isupper:
    print('A')
else:
    print('a')

Failing test case input:
;

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
alpha = input()
if alpha.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
print('A' if a.isupper else 'a')

Failing test case input:
?

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
a = input()
print('A' if a.isupper() else 'a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=input()
print("A" if a.isupper else "a")

Failing test case input:
\

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
a=input()
print("A" if a.isupper() else "a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

def test(a):
	if a.isupper():
		return 'A'
	else:
		return 'a'
      
test(input())

Failing test case input:
R

Expected output:
A


Actual output:

Fixed submission (verdict: Accepted):
def test(a):
	if a.isupper():
		print('A')
	else:
		print('a')

        
test(input())

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
if input().isupper:
  print('A')
else:print('a')

Failing test case input:
T

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
if input().isupper():
  print('A')
else:print('a')

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a = input()
if a.isupper:
    print('A')
else:
    print('a')

Failing test case input:
@

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
a = input()
if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()

if a.lower() == a:
  print('A')

else:
  print('a')

Failing test case input:
H

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
a = input()

if a.isupper():
    print('A')

else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
  c = input()
  if c.isupper():
    print(c.lower())
  else:
    print(c.upper())

main()


Failing test case input:
n

Expected output:
a


Actual output:
N


Fixed submission (verdict: Accepted):
def main():
  c = input()
  if c.isupper():
    print('A')
  else:
    print('a')
 
main()

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
s = input()

low=s.lower()

if low==s:
    print("A")
else:
    print("B")

Failing test case input:
D

Expected output:
A


Actual output:
B


Fixed submission (verdict: Accepted):
s = input()

low=s.lower()

if low==s:
    print("a")
else:
    print("A")
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
b = ord(a)

if b < 90 and b > 65:
  print('A')
else:
  print('a')

Failing test case input:
A

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
a = input()
b = ord(a)

if b <= 90 and b >= 65:
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = input()

if A.isupper():
    print(A.lower())
else:
    print(A.upper())

Failing test case input:
>

Expected output:
a


Actual output:
>


Fixed submission (verdict: Accepted):
A = input()

if A.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()

if a.isupper():
    print(a.lower())
else:
    print(a.upper())

Failing test case input:
:

Expected output:
a


Actual output:
:


Fixed submission (verdict: Accepted):
a = input()

if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N=str(input())
ABC=[chr(i) for i in range(65, 65+26)]
if N in ABC:
    print("A")
else:
    print("B")

Failing test case input:
\

Expected output:
a


Actual output:
B


Fixed submission (verdict: Accepted):
N=str(input())
ABC=[chr(i) for i in range(65, 65+26)]
if N in ABC:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys

if __name__ == '__main__':
    a = sys.stdin.readline().rstrip()
    print(a.lower())


Failing test case input:
L

Expected output:
A


Actual output:
l


Fixed submission (verdict: Accepted):
import sys

if __name__ == '__main__':
    a = sys.stdin.readline().rstrip()
    if a.isupper():
        print('A')
    else:
        print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
str = input()
if str.isupper()=="TRUE":
  print("A")
else:
  print("a")

Failing test case input:
V

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
str = input()
if str.isupper()==True:
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = input()

if N.isupper():
    print("A")
else:
    print("B")

Failing test case input:
\

Expected output:
a


Actual output:
B


Fixed submission (verdict: Accepted):
N = input()

if N.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = input()

if ord("A") < ord(n) and ord(n) <= ord("Z"):
    print("A")
else:
    print("a")


Failing test case input:
A

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
n = input()

if ord("A") <= ord(n) and ord(n) <= ord("Z"):
    print("A")
else:
    print("a")
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
alpha=input()
asc=ord(alpha)

if ((asc>=65) and (asc<=90)):
    alpha = chr(asc + 32)
else:
    alpha=chr(asc-32)

print(alpha)

Failing test case input:
|

Expected output:
a


Actual output:
\


Fixed submission (verdict: Accepted):
alpha=input()
asc=ord(alpha)

if ((asc>=65) and (asc<=90)):
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
if S.isupper():
    print("A")
else:
    print("B")


Failing test case input:
O

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
S = input()
if S.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
if(input().isupper):
  print('A')
else:
  print('a')


Failing test case input:
a

Expected output:
a

Actual output:
A


Fixed submission (verdict: Accepted):
if(input().isupper()):
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
S = str(input())
if S in ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']:
    print(S.lower())
else:
    print(S.upper())

Failing test case input:
>

Expected output:
a


Actual output:
>


Fixed submission (verdict: Accepted):
S = str(input())
if S in ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
c = input()
if c.isupper() == True:
    print('A')
else:
    print('b')


Failing test case input:
;

Expected output:
a


Actual output:
b


Fixed submission (verdict: Accepted):
c = input()
if c.isupper() == True:
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()
y = x.isupper
if (y == True):
  print("A")
else:
  print("a")

Failing test case input:
T

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
x = input()
y = x.isupper()
if (y == True):
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if a.isupper():
    print(a.lower())
else:
    print(a)

Failing test case input:
`

Expected output:
a


Actual output:
`


Fixed submission (verdict: Accepted):
a = input()
if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
if input().islower() == "True":
    print("a")
else:
    print("A")

Failing test case input:
S

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
if input().istitle() == True:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
 
if s.lower() == s:
  print('A')
else:
  print('a')

Failing test case input:
m

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
s = input()
 
if s.lower() == s:
  print('a')
else:
  print('A')
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
print('A' if a.islower() else 'a')

Failing test case input:
G

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
N = input()
print('A' if N.isupper() else 'a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()

if s.lower == s:
  print('A')
else:
  print('a')

Failing test case input:
H

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
s = input()
 
if s.lower() == s:
  print('a')
else:
  print('A')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
c = str(input())
if c.upper():
    print('A')
else:
    print('a')

Failing test case input:
~

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
c = str(input())
if c.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if a.islower==True:
  print('a')
else:
  print('A')


Failing test case input:
R

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
a = input()
if a.isupper():
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
print(a.isupper())
if a.isupper():
    print("A")
else:
    print("a")

Failing test case input:
;

Expected output:
a


Actual output:
False
a


Fixed submission (verdict: Accepted):
a = input()
if a.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import re
a = input()
if re.match("[A-Z]", a):
  print(a.lower())
else:
  print(a.upper())

Failing test case input:
F

Expected output:
A


Actual output:
f


Fixed submission (verdict: Accepted):
import re
a = input()
if re.match("[A-Z]", a):
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a=input()
if(ord(a)>=65 and ord(a)<=90):
  print('a')
else:
  print('A')

Failing test case input:
J

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
a=input()
if(ord(a)>=65 and ord(a)<=90):
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
string = input("Enter a letter: ")
if string.isupper() == True:
    print("A")
else:
    print("a")


Failing test case input:
V

Expected output:
A


Actual output:
Enter a letter: A


Fixed submission (verdict: Accepted):
string = input()
if string.isupper() == True:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
alpha = str(input())

if alpha > "A" and alpha < "Z":
    print("A")
else:
    print("a")

Failing test case input:
A

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
alpha = str(input())

if alpha >= "A" and alpha <= "Z":
    print("A")
else:
    print("a")
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if s.isupper():
  print('A')
else:
  print('B')

Failing test case input:
Q

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
s = input()
if s.isupper():
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
str = input()

if str.isupper:
  print('A')
else:
  print('a')

Failing test case input:
|

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
str = input()
 
if str.isupper():
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=input()
y='x'.isupper()
if y=='true':
  print('A')
else:
  print('a')

Failing test case input:
L

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
mozi=input()

if mozi.isupper() is True:
  print('A')
else:
  print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if a.isupper:
    print('A')
else:
    print('a')

Failing test case input:
n

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
a = input()
if a.isupper():
    print('A')
else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()

if 'A' < x < 'Z': print('A')
else : print('a')

Failing test case input:
A

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
x = input()

if 'A' <= x <= 'Z': print('A')
else : print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

import math

for i in range(1):
    s=input()
    print(s.lower())
        
        
        
    
    
    


Failing test case input:
O

Expected output:
A


Actual output:
o


Fixed submission (verdict: Accepted):

import math

for i in range(1):
    s=input()
    if s.isupper():
        print("A")
    else:
        print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = input()
if A.isupper():
  print("A")
else:
  print("B")

Failing test case input:
G

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
A = input()
if A.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
if input().islower() == "True":
    print("A")
else:
    print("a")

Failing test case input:
X

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
if input().istitle() == True:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
if input().isupper:
  print('A')
else:print('B')

Failing test case input:
n

Expected output:
a


Actual output:
A


Fixed submission (verdict: Accepted):
if input().isupper():
  print('A')
else:print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
flag = s.isupper()
print(s.lower()) if flag == True else print(s.upper())

Failing test case input:
F

Expected output:
A


Actual output:
f


Fixed submission (verdict: Accepted):
s = input()
flag = s.isupper()
print("A") if flag == True else print("a")
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
S = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
s = "abcdefghijklmnopqrstuvwxyz"

if S.find(a) == -1:
    print(S[s.find(a)])
else:
    print(s[S.find(a)])

Failing test case input:
<

Expected output:
a


Actual output:
Z


Fixed submission (verdict: Accepted):
a = input()
S = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
s = "abcdefghijklmnopqrstuvwxyz"

if a in S:
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()

ans = 0

if s.isupper():
    print("a")
else:
    print("A")

Failing test case input:
E

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
s = input()

ans = 0

if s.isupper():
    print("A")
else:
    print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()

if x.isupper():
    print('A')

else:
    print('B')


Failing test case input:
S

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):

a = input()

if a.isupper():
    print('A')

else:
    print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
alpa = str(input())
if alpa.isupper():
    print("A")
else :
     print("B")

Failing test case input:
Z

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
alpa = str(input())
if alpa.isupper():
    print("A")
else :
     print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if a.upper() == True:
  print('A')
else:
  print("a")

Failing test case input:
P

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
a = input()
if a.isupper() == True:
  print('A')
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if s.islower == True:
  print("a")
else:
  print("A")

Failing test case input:
S

Expected output:
A


Actual output:
A


Fixed submission (verdict: Accepted):
s = str(input())
if s.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()
if x.isupper() == 'True':
	print('a')
else:
	print('A')

Failing test case input:
a

Expected output:
a

Actual output:
A


Fixed submission (verdict: Accepted):
x = input()
if x.isupper() == True:
	print('A')
else:
	print('a')

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if s.isupper():
    print (s.lower())
else:
    print (s.upper())


Failing test case input:
:

Expected output:
a


Actual output:
:


Fixed submission (verdict: Accepted):
s = input()
if s.isupper():
    print ("A")
else:
    print ("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
b = input()
print('A' if b.islower() else 'a')

Failing test case input:
J

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
a = input()
print('A' if a.isupper() else 'a')
Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if s.isupper == True:
  print("A")
else:
  print("a")


Failing test case input:
X

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
s = str(input())
if s.isupper():
  print("A")
else:
  print("a")

Problem: p02627
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import re
a = str(input())
m = re.match("[A-B]", a)
if m:
    print("A")
else:
    print("a")


Failing test case input:
J

Expected output:
A


Actual output:
a


Fixed submission (verdict: Accepted):
import re


a = str(input())
m = re.match("[A-Z]", a)
if m:
    print("A")
else:
    print("a")
Problem: p02927
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys

sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    m, d = map(int, input().split())

    res = 0
    for i in range(4, m + 1):
        for j in range(22, d + 1):
            d1, d10 = divmod(j, 10)
            if i == d1 * d10:
                res += 1

    print(res)


if __name__ == '__main__':
    resolve()


Failing test case input:
31 48

Expected output:
22


Actual output:
23


Fixed submission (verdict: Accepted):
import sys

sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    m, d = map(int, input().split())

    res = 0
    for i in range(4, m + 1):
        for j in range(22, d + 1):
            d1, d10 = divmod(j, 10)
            if i == d1 * d10 and d1 >= 2 and d10 >= 2:
                res += 1

    print(res)


if __name__ == '__main__':
    resolve()

Problem: p02927
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
def resolve():
    m, d = map(int, input().split())
    if d < 22:
        return 0
    count = 0
    for mi in range(4, m + 1):
        for di in range(22, d + 1):
            d10, d1 = str(di)
            if int(d10) * int(d1) == mi:
                count += 1
    return count


if __name__ == "__main__":
    print(resolve())


Failing test case input:
9 66

Expected output:
6


Actual output:
9


Fixed submission (verdict: Accepted):
def resolve():
    m, d = map(int, input().split())
    if d < 22:
        return 0
    count = 0
    for mi in range(4, m + 1):
        for di in range(22, d + 1):
            d10, d1 = str(di)
            if int(d10) * int(d1) == mi and int(d1) > 1:
                count += 1
    return count


if __name__ == "__main__":
    print(resolve())

Problem: p02927
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
m,d= map(int, input().split())

ans=0
for mon in range(1,m+1):
    for day in range(1,d+1):
        if day<22:
            continue
        d1,d2=str(day)
        if int(d1)*int(d2)==mon:
            ans+=1
print(ans)

Failing test case input:
9 48

Expected output:
6


Actual output:
8


Fixed submission (verdict: Accepted):
m,d= map(int, input().split())

ans=0
for mon in range(1,m+1):
    for day in range(1,d+1):
        if day<22:
            continue
        d1,d2=str(day)
        d1,d2=int(d1),int(d2)
        if d1<2 or d2<2:
            continue
        if d1*d2==mon:
            ans+=1

print(ans)

Problem: p02927
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
M, D = map(int, input().split())

result = 0
for m in range(1, M+1):
    for d in range(1, D+1):
        if m >= 4 and d >= 22:
            d1, d10 = map(int, str(d))
            if d1 * d10 == m:
                result += 1
print(result)


Failing test case input:
24 94

Expected output:
31


Actual output:
37


Fixed submission (verdict: Accepted):
M, D = map(int, input().split())

result = 0
for m in range(1, M+1):
    for d in range(1, D+1):
        if m >= 4 and d >= 22:
            d10, d1 = map(int, str(d))
            if d10 >= 2 and d1 >= 2 and d1 * d10 == m:
                result += 1
print(result)
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M, D =  map(int, input().split())
count = 0
for d in range(D - 1):
    d += 2
    d1 = int(d/10)
    d2 = d - d1 * 10
    if d1 * d2 <= M and d1 > 1 and d2 > 1:
        print(d1, d2)
        count += 1
print(count)

Failing test case input:
12 32

Expected output:
6


Actual output:
2 2
2 3
2 4
2 5
2 6
3 2
6


Fixed submission (verdict: Accepted):
M, D =  map(int, input().split())
count = 0
for d in range(D - 1):
    d += 2
    d1 = int(d/10)
    d2 = d - d1 * 10
    if d1 * d2 <= M and d1 > 1 and d2 > 1:
        count += 1
print(count)

Problem: p02927
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
M,D=map(int,input().split())
ans=0
for i in range(1,M):
  for j in range(22,D+1):
    j=str(j)
    j1=int(j[0])
    j2=int(j[1])
    if i==j1*j2:
      ans+=1
print(ans)

Failing test case input:
16 57

Expected output:
16


Actual output:
17


Fixed submission (verdict: Accepted):
M,D=map(int,input().split())
ans=0
for i in range(1,M+1):
  for j in range(22,D+1):
    j=str(j)
    j1=int(j[0])
    j2=int(j[1])
    if i==j1*j2 and j2>=2:
      ans+=1
print(ans)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M,D=map(int,input().split())
count = 0
for d in range(22,D):
    d1 = d % 10
    d2 = (d - d % 10)/10
    if d1 < 2 or d2 < 2:continue
    elif d1 * d2 <= M:
        count += 1
print(count)

Failing test case input:
12 32

Expected output:
6


Actual output:
5


Fixed submission (verdict: Accepted):
M,D=map(int,input().split())
count = 0
for d in range(22,D+1):
    d1 = d % 10
    d2 = (d - d % 10)/10
    if d1 < 2 or d2 < 2:continue
    elif d1 * d2 <= M:
        count += 1
print(count)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def calendar():
    m, d = map(int, input().split())
    res = []
    for month in range(1, m + 1):
        for day in range(2, d + 1):
            for x in range(2, d + 1):
                if day * x == month:
                    temp = str(day) + str(x)
                    temp = int(temp)
                    if temp <= d:
                        res.append(temp)
    return len(res)
 
 
calendar()

Failing test case input:
30 32

Expected output:
9


Actual output:

Fixed submission (verdict: Accepted):
def calendar():
    m, d = map(int, input().split())
    res = []
 
    for month in range(1, m + 1):
        for day in range(2, 10):
            for x in range(2, 10):
                if x * day == month:
                    temp = str(day) + str(x)
                    temp = int(temp)
                    if temp <= d:
                        res.append(temp)
    return len(res)
 
 
print(calendar())
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,d=input().split()
m,d=int(m),int(d)

c=0
if d<22:
    print(0)
else:
    for j in range(m):
        for i in range(d-22):
            d1,d10=int(str(i+23)[1]),int(str(i+23)[0])
            
            
            if d1>1 and d10>1 and d1*d10==j+1:
                c+=1
                
    print(c)


Failing test case input:
12 48

Expected output:
10


Actual output:
9


Fixed submission (verdict: Accepted):
m,d=input().split()
m,d=int(m),int(d)

c=0
if d<22:
    print(0)
else:
    for j in range(m):
        for i in range(d-21):
            d1,d10=int(str(i+22)[1]),int(str(i+22)[0])
            
            
            if d1>1 and d10>1 and d1*d10==j+1:
                c+=1
                
    print(c)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
  M,D = map(int,input().split())
  if D < 22:
      print(0)
      return
  cnt = 0
  for i in range(D):
      if (D/10)*(D%10) < M:
          cnt += 1
  print(cnt)
  
main()

Failing test case input:
16 94

Expected output:
19


Actual output:
0


Fixed submission (verdict: Accepted):
import math
def main():
  M,D = map(int,input().split())
  if D < 22:
       print(0)
       return
  cnt = 0
  for i in range(D + 1):
      if 2 <= (i/10) and 2 <= (i%10) and math.floor(i/10)*(i%10) <= M:
          cnt += 1
  print(cnt)
  
main()

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,d = map(int,input().split())

ans = 0;

if(d >= 22):
  for i in range(1,m+1):
    for j in range(20,d):
      d1 = j%10
      d10 = int(j/10)
      if(d1 >= 2 and d10 >= 2 and i == d1*d10):
        ans += 1

print(ans)

Failing test case input:
12 32

Expected output:
6


Actual output:
5


Fixed submission (verdict: Accepted):
m,d = map(int,input().split())

ans = 0;

if(d >= 22):
  for i in range(1,m+1):
    for j in range(20,d+1):
      d1 = j%10
      d10 = int(j/10)
      if(d1 >= 2 and d10 >= 2 and i == d1*d10):
        ans += 1

print(ans)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M,D=[int(i) for i in input().split()]

if D<20:
  print(0)
else :
  count = 0
  for i in range(1,M+1):
    for id in list(range(20, D+1)):
      if int((str(id))[1]) >= 2 and ( int(str(id)[0]))*int((str(id))[1]) == i :
         print(i, id)
         count += 1
  print(count)


Failing test case input:
12 28

Expected output:
5


Actual output:
4 22
6 23
8 24
10 25
12 26
5


Fixed submission (verdict: Accepted):
M,D=[int(i) for i in input().split()]

if D<20:
  print(0)
else :
  count = 0
  for i in range(1,M+1):
    for id in list(range(20, D+1)):
      if int((str(id))[1]) >= 2 and ( int(str(id)[0]))*int((str(id))[1]) == i :
         count += 1
  print(count)
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def calendar():
    m, d = map(int, input().split())
    res = []

    for month in range(1, m + 1):
        for day in range(2, 9):
            for x in range(2, 9):
                if x * day == month:
                    temp = str(day) + str(x)
                    temp = int(temp)
                    if temp <= d:
                        res.append(temp)
    return len(res)


calendar()

Failing test case input:
9 66

Expected output:
6


Actual output:

Fixed submission (verdict: Accepted):
def calendar():
    m, d = map(int, input().split())
    res = []
 
    for month in range(1, m + 1):
        for day in range(2, 10):
            for x in range(2, 10):
                if x * day == month:
                    temp = str(day) + str(x)
                    temp = int(temp)
                    if temp <= d:
                        res.append(temp)
    return len(res)
 
 
print(calendar())

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int, input().split())
count = 0
for i in range(4,A+1):
  for j in range(22,B+1):
    C = str(j)
    if i == int(C[0])*int(C[1]):
      count = count + 1
print(count)

Failing test case input:
12 48

Expected output:
10


Actual output:
11


Fixed submission (verdict: Accepted):
A,B = map(int, input().split())
count = 0
for i in range(4,A+1):
  for j in range(22,B+1):
    C = str(j)
    if i == int(C[0])*int(C[1]) and int(C[1]) > 1:
      count = count + 1
print(count)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,d=map(int,input().split())
ans=0
if len(str(d))==1:
    print(0)
    exit()

for M in range(2,m+1):
    for D2 in range(2, int(str(d)[0]) + 1):
        for D1 in range(2,9):
            if int(str(D2)+str(D1))<=d:
                if M==D1*D2:
                    ans+=1

            print(D1,D2)

print(ans)

Failing test case input:
12 38

Expected output:
8


Actual output:
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
2 2
3 2
4 2
5 2
6 2
7 2
8 2
2 3
3 3
4 3
5 3
6 3
7 3
8 3
8


Fixed submission (verdict: Accepted):
M,D=map(int,input().split())

if D<=21:
    print(0)
    exit()
ans=0
for i in range(4,M+1):
    for j in range(22,D+1):
        D1=int(str(j)[0])
        D2=int(str(j)[1])
        if i==D1*D2 and D1!=1 and D2!=1:
            ans+=1
            
print(ans)
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def calendar():
    m, d = map(int, input().split())
    res = []
    for month in range(1, m + 1):
        for day in range(2, d + 1):
            for x in range(2, d + 1):
                if x * day == month:
                    temp = str(day) + str(x)
                    temp = int(temp)
                    if temp <= d:
                        res.append(temp)
    return len(res)
 
 
calendar()

Failing test case input:
22 79

Expected output:
25


Actual output:

Fixed submission (verdict: Accepted):
def calendar():
    m, d = map(int, input().split())
    res = []
 
    for month in range(1, m + 1):
        for day in range(2, 10):
            for x in range(2, 10):
                if x * day == month:
                    temp = str(day) + str(x)
                    temp = int(temp)
                    if temp <= d:
                        res.append(temp)
    return len(res)
 
 
print(calendar())

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M,D = list(map(int, input().strip().split()))
count = 0
for m in range(2,M+1):
    for d in range(22, D+1):
        if m == (d / 10) % 10 * (d % 10):
            count += 1
print(count)


Failing test case input:
9 48

Expected output:
6


Actual output:
0


Fixed submission (verdict: Accepted):
M,D = list(map(int, input().strip().split()))
count = 0
for m in range(2,M+1):
    for d in range(11, D+1):
        if ((d%10) >= 2) and (int(d/10) >= 2) and (m == int(d/10) * (d%10)):
            count+=1
print(count)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M,D = map(int,input().split())
c = 0
for m in range(M+1):
    for d in range(D):
        d1 = d%10
        d10 = int((d-d1)/10)

        if d1 >= 2 and d10 >= 2 and d1*d10 == m:
            print(d1,d10)
            c+=1
print(c)


Failing test case input:
12 44

Expected output:
10


Actual output:
2 2
3 2
2 3
4 2
2 4
3 3
5 2
6 2
4 3
3 4
10


Fixed submission (verdict: Accepted):
M,D = map(int,input().split())
c = 0
for m in range(1,M+1):
    for d in range(1,D+1):
        d1 = d%10
        d10 = int((d-d1)/10)

        if d1 >= 2 and d10 >= 2 and d1*d10 == m:
            c+=1
print(c)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,d = map(int, input().split())
c = 0
for i in range(1,m):
  for j in range(22,d):
    a = int(str(j)[0])
    b = int(str(j)[1])
    if a*b == i:
      c += 1
print(c)

Failing test case input:
30 40

Expected output:
16


Actual output:
17


Fixed submission (verdict: Accepted):
m,d = map(int, input().split())
c = 0
for i in range(1,m+1):
  for j in range(22,d+1):
    a = int(str(j)[0])
    b = int(str(j)[1])
    if a*b == i and a > 1 and b > 1:
      
      c += 1
print(c)
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m, d  = map(int, input().split())

cnt = 0

if m <= 3 or d <= 21:
	print(0)
else:
	for i in range(22,d+1):
			d10 = int(i/10)
			d1 = int(i%10)
			
			
			if d1 >= 2 and d10 >= 2 and d1*d10  <= m:
				cnt += 1

print(cnt)


Failing test case input:
-1 32

Expected output:
0


Actual output:
0
0


Fixed submission (verdict: Accepted):
m, d  = map(int, input().split())

cnt = 0

if m <= 3 or d <= 21:
	print(0)
else:
	for i in range(22,d+1):
			d10 = int(i/10)
			d1 = int(i%10)
			
			
			if d1 >= 2 and d10 >= 2 and d1*d10  <= m:
				cnt += 1

	print(cnt)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
month, day = input().split(" ")
month = int(month)
day = int(day)

num_d = 0
for m in range(1,month+1):
    for i in range(2,10):
        if i*10 > day:
            continue
        if m%i==0:
            d1 = m
            if i*10+d1 < day and d1>1:
                num_d += 1

print(num_d)

Failing test case input:
9 52

Expected output:
6


Actual output:
9


Fixed submission (verdict: Accepted):
month, day = input().split(" ")
month = int(month)
day = int(day)

num_d = 0
for m in range(2,month+1):
    for d10 in range(2,10):
        for d1 in range(2,10):
            if d10*d1 == m and d10*10+d1 <= day:
                num_d += 1

print(num_d)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input_a,input_b = map(int, input().split())

count = 0
if input_a < 4 or input_b < 22:
    print(0)
else:
    for i in range(4,input_a+1):
        for j in range(22,input_b+1):
            j1 = j % 10
            j10 = (j - j1)/10
            if j1 * j10 == i:
                count += 1
    print(count)



Failing test case input:
6 42

Expected output:
3


Actual output:
4


Fixed submission (verdict: Accepted):
input_a,input_b = map(int, input().split())


count = 0

if input_a < 4 or input_b < 22:
    print(0)
    
else:
    for i in range(4, input_a+1):
        for j in range(22, input_b + 1):
            j1 = j%10
            j10 = (j-j1)/10
            if j1>=2 and j1*j10 == i:
                
                count += 1
    print(count)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,d = map(int, input().split())
res = 0
for i in range(1,m+1):
  for j in range(1,d+1):
    if j >= 22 and j%10 >= 2 and int(str(j)[0]) *int(str(j)[1]) == m:
      res += 1
print(res)

Failing test case input:
12 60

Expected output:
11


Actual output:
36


Fixed submission (verdict: Accepted):
m,d = map(int, input().split())
res = 0
for i in range(1,m+1):
  for j in range(1,d+1):
    if j >= 22 and j % 10 >= 2 and int(str(j)[0]) * int(str(j)[1]) == i:
      res += 1
print(res)
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M, D = input().split()


SUM = 0
for m in range(4, int(M)+1) :
    for d in range(22, int(D)+1) :
        if ( int(d % 10) ) * ( int(d / 10) ) == m :
            SUM+=1
        
print(SUM)

Failing test case input:
18 58

Expected output:
18


Actual output:
20


Fixed submission (verdict: Accepted):
M, D = input().split()


SUM = 0
for m in range(4, int(M)+1) :
    for d in range(22, int(D)+1) :
        if ( int(d % 10) ) * ( int(d / 10) ) == m \
            and int(d % 10) != 1 and int(d / 10) != 1:
            SUM+=1
        
print(SUM)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
m,d=map(int, input().split())
count=0
if d <= 10:
  print(0)
else:
  for i in range(1,m+1):
    for j in range(11,d+1):
      dl = list(str(j))
      if int(dl[0]) >=2 and int(dl[1]) >= 2 and int(dl[0])*int(dl[1]) == i:
        print(str(i)+ ' ' + str(j))
        count+=1

  print(count)

Failing test case input:
14 68

Expected output:
13


Actual output:
4 22
6 23
6 32
8 24
8 42
9 33
10 25
10 52
12 26
12 34
12 43
12 62
14 27
13


Fixed submission (verdict: Accepted):
m,d=map(int, input().split())
count=0
if d <= 10:
  print(0)
else:
  for i in range(1,m+1):
    for j in range(11,d+1):
      dl = list(str(j))
      if int(dl[0]) >=2 and int(dl[1]) >= 2 and int(dl[0])*int(dl[1]) == i:
        count+=1

  print(count)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = list(map(int, input().split()))
 
M = A[0]
D = A[1]
count = 0
 
for i in range(1,M+1):
  for j in range(22,D+1):
    day = list(str(j))
    m10 = int(day[0])
    m1 = int(day[1])
    if i == m10 * m1:
      count+=1
    
  
 
print(count)

Failing test case input:
9 48

Expected output:
6


Actual output:
8


Fixed submission (verdict: Accepted):
A = list(map(int, input().split()))
 
M = A[0]
D = A[1]
count = 0
 
for i in range(4,M+1):
  for j in range(22,D+1):
    day = list(str(j))
    m10 = int(day[0])
    m1 = int(day[1])
    if m10 < 2:
      continue
    elif m1 < 2:
      continue
    
    if i == m10 * m1:
      count+=1
    
  
 
print(count)

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
M, D = map(int, input().split())
cnt = 0

if M < 4:
    print('0')
else:
    for i in range(4, M+1):
        for j in range(22, D+1):
            j = str(j)
            jli = list(j)
            if jli[1] == 0 or jli[1] == 1:
                continue
            else:
                if int(jli[0])*int(jli[1]) == i:
                    cnt += 1

print(cnt)



Failing test case input:
21 63

Expected output:
23


Actual output:
26


Fixed submission (verdict: Accepted):
M, D = map(int, input().split())
cnt = 0

if M < 4:
    print('0')
else:
    for i in range(4, M+1):
        for j in range(22, D+1):
            j = str(j)
            jli = list(j)
            if jli[1] == '0' or jli[1] == '1':
                pass
            else:
                if int(jli[0])*int(jli[1]) == i:
                    
                    cnt += 1

    print(cnt)
Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def resolve():
    M,D=map(int,input().split())
    count=0
    for j in range(1,M+1):
        for i in range(D):
            if i<10: continue
            s1=int(str(i)[0])
            s2=int(str(i)[1])
            if s1>1 and s2>1:
                if s1*s2==j:
                    count+=1
    print(count)
resolve()

Failing test case input:
12 25

Expected output:
4


Actual output:
3


Fixed submission (verdict: Accepted):
def resolve():
    M,D=map(int,input().split())
    count=0
    for j in range(1,M+1):
        for i in range(1,D+1):
            if i<10: continue
            s1=int(str(i)[0])
            s2=int(str(i)[1])
            if s1>1 and s2>1:
                if s1*s2==j:
                    count+=1
    print(count)
resolve()

Problem: p02927
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

read = sys.stdin.read
M, D = map(int, read().split())

if D < 22:
    print(0)
    exit()

answer = 0
for i in range(1, M + 1):
    for j in map(str, range(22, D)):
        a = int(j[0])
        b = int(j[1])
        if a >= 2 and b >= 2:
            if a * b == i:
                answer += 1

print(answer)


Failing test case input:
30 32

Expected output:
9


Actual output:
8


Fixed submission (verdict: Accepted):
import sys

read = sys.stdin.read
M, D = map(int, read().split())

if D < 22:
    print(0)
    exit()

answer = 0
for i in range(1, M + 1):
    for j in map(str, range(22, D + 1)):
        a = int(j[0])
        b = int(j[1])
        if a >= 2 and b >= 2:
            if a * b == i:
                answer += 1

print(answer)