ZhenlongDai/ACPR huggingface dataset:
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
cnt=0
for i in range(0,len(s)-1):
  if s[i]==s[i+1]:
    print("Bad")
    break
  else:
    cnt+=1
if cnt==len(s):
  print("Good")

Failing test case input:
16185

Expected output:
Good


Actual output:

Fixed submission (verdict: Accepted):
s = input()
cnt=0
for i in range(0,len(s)-1):
  if s[i]==s[i+1]:
    cnt+=1
    continue
  else:
    pass
if cnt==0:
  print("Good")
else:
  print("Bad")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())
k = 1
for i in range(3):
    if S[i] == S[i+1]:
        print("bad")
        k = 0
        break
    else:
        continue
if k == 1:
    print("Good")

Failing test case input:
2887

Expected output:
Bad


Actual output:
bad


Fixed submission (verdict: Accepted):
S = str(input())
k = 1
for i in range(3):
    if S[i] == S[i+1]:
        print("Bad")
        k = 0
        break
    else:
        continue
if k == 1:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if S[0] == S[1] or S[1] == S[2] or S[2] == S[3]:
    print("Good")
else:
    print('Bad')

Failing test case input:
9215

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S = input()
if S[0] == S[1] or S[1] == S[2] or S[2] == S[3]:
    print("Bad")
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=list(input())
if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:
  print("Bad")
else:
  print("Yes")

Failing test case input:
36905

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
s=list(input())
if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:
  print("Bad")
else:
  print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

if S[0] != S[1] and S[1] != S[2] and S[2] != S[3]:
  print("good")
else:
  print("sad")

Failing test case input:
3291

Expected output:
Good


Actual output:
good


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

if S[0] != S[1] and S[1] != S[2] and S[2] != S[3]:
  print("Good")
else:
  print("Bad")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input();print("GBoaodd"[w[0]!=w[1]!=w[2]!=w[3]::2])

Failing test case input:
3075

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S=input();print("GBoaodd"[1^(S[0]!=S[1]!=S[2]!=S[3])::2])

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

ans = 'Good' if s[0] == s[1] or s[1] == s[2] or s[2] == s[3] else 'Bad'
print(ans)


Failing test case input:
377

Expected output:
Bad


Actual output:
Good


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

ans = 'Bad' if s[0] == s[1] or s[1] == s[2] or s[2] == s[3] else 'Good'
print(ans)
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]:
  print("Bad")
else:
  print("Yes")

Failing test case input:
16798

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=input()
if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]:
  print("Bad")
else:
  print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list( input() )
for i in range( len(S) - 1 ) : 
    if S[i]==S[i+1] : 
       print( "Good" )
    break
else : 
  print( "Bad" )

Failing test case input:
1722

Expected output:
Bad


Actual output:

Fixed submission (verdict: Accepted):
S = list( input() )
for i in range( len(S) - 1 ) : 
    if S[i] == S[i+1] : 
       print( "Bad" )
       break
else : 
    print( "Good" )

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
answer='GOOD'
for i in range(len(s)-1):
  if s[i]==s[i+1]:
    answer='BAD'
    break
print(answer)

Failing test case input:
6416

Expected output:
Good


Actual output:
GOOD


Fixed submission (verdict: Accepted):
s=input()
answer='Good'
for i in range(len(s)-1):
  if s[i]==s[i+1]:
    answer='Bad'
    break
print(answer)

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
print(S)

if (S[0] == S[1] or S[1] == S[2] or S[2] == S[3]):
    print("Bad")
else:
    print("Good")

Failing test case input:
18986

Expected output:
Good


Actual output:
['1', '8', '9', '8', '6']
Good


Fixed submission (verdict: Accepted):
S = list(input())

if (S[0] == S[1] or S[1] == S[2] or S[2] == S[3]):
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
s = str(input().split())

i = 0
while True:
    i += 1
    if i == 4:
        break
    if s[i] == s[i +1]:
        print_ans = 'Bad'
        break
    else:
        print_ans = 'Good'

print(print_ans)

Failing test case input:
2155

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = str(input().split())
i = 0 + 2
while True:
    if s[i] == s[i + 1]:
        print_ans = 'Bad'
        break
    else:
        print_ans = 'Good'
    i += 1
    if i == 3 + 2:
        break
    
print(print_ans)

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
for i in range(len(S)):
    if S[i] == S[i-1]:
        print('Bad')
        exit(0)
print('Good')

Failing test case input:
12101

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S = input()
for i in range(3):
    if S[i] == S[i+1]:
        print('Bad')
        exit()
print('Good')

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import re
s = input()
pattern = r"(00|11|22|33|44|55|66|77|88|99)"
if(re.match(pattern, s)):
  print("Bad")
else:
  print("Good")

Failing test case input:
1344

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
import re
s = input()
pattern = r"(00|11|22|33|44|55|66|77|88|99)"
if(re.search(pattern, s)):
	print("Bad")
else:
	print("Good")
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[1] == s[0] or s[2] == s[1] or s[3] == s[2]:
    print("Good")
else:
    print("Bad")


Failing test case input:
9145

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s = input()
if s[1] == s[0] or s[2] == s[1] or s[3] == s[2]:
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0] == s[1] or s[0] == s[1] or s[0] == s[1]:
	print("Bad")
else:
	print("Good")

Failing test case input:
1229

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = input()
if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
	print("Bad")
else:
	print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())

def judge():
    now = None
    for i in S:
        if now == i:
            print("Bad")
            return
        now = i
    print("good")

judge()

Failing test case input:
8614

Expected output:
Good


Actual output:
good


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

def judge():
    now = None
    for i in S:
        if now == i:
            print("Bad")
            return
        now = i
    print("Good")

judge()

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
a = "Good"
for i in range(2):
    if s[i]==s[i+1]:
        a = "Bad"
        break
print(a)

Failing test case input:
1722

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = input()
a = "Good"
for i in range(3):
    if s[i]==s[i+1]:
        a = "Bad"
        break
print(a)

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s = input()
for i in range(2):
    if s[i] == s[i + 1]:
        print('Bad')
        exit()
print('Good')

Failing test case input:
47440

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = input()
for i in range(3):
    if s[i] == s[i + 1]:
        print('Bad')
        exit()
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
r="g↨ood"
for i in range(len(s)-1):
  if s[i]==s[i+1]:
    r="b↨ad"
    break
print(r)

Failing test case input:
47440

Expected output:
Bad


Actual output:
b↨ad


Fixed submission (verdict: Accepted):
s=input()
r="Good"
for i in range(len(s)-1):
  if s[i]==s[i+1]:
    r="Bad"
    break
print(r)
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
passward = input()

def detector(passward):
    passward_list = list(passward)
    for i in range(len(passward)-1):
        if passward_list[i] == passward_list[i+1]:
            print('Bad', end='')
            break
        else :
            continue
        if i == len(passward)-1:
            print('Good', end='')

detector(passward)


Failing test case input:
2680

Expected output:
Good


Actual output:

Fixed submission (verdict: Accepted):

passward = input()


def detector(passward):
    passward_list = list(passward)
    for i in range(len(passward)-1):
        if passward_list[i] == passward_list[i+1]:
            print('Bad', end='')
            break
        else :
            if i == len(passward)-2:
                print('Good', end='')
            continue
        

detector(passward)

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input();print("Good"if s[0]==s[1]or s[1]==s[2]or s[2]==s[3]else"Bad")

Failing test case input:
12904

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s=input();print("Bad"if s[0]==s[1]or s[1]==s[2]or s[2]==s[3]else"Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

s = int(input())

nums = [00,11,22,33,44,55,66,77,88,99]

flag = 0

for i in nums:
    if str(i) in str(s):
        flag = 1
        break


if flag == 1:
    print('Bad')
else:
    print('Good')


Failing test case input:
10429

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):

s = input()

nums = ['00',11,22,33,44,55,66,77,88,99]

flag = 0

for i in nums:
    if str(i) in s:
        flag = 1
        break


if flag == 1:
    print('Bad')
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
flg = True
for i in range(len(s)-1):
    s[i] == s[i+1]
    flg = False
    break
print('Good') if flg else print('Bad')

Failing test case input:
20193

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s = input()
flg = True
for i in range(len(s)-1):
    if s[i] == s[i+1]:
        flg = False
        break
print('Good') if flg else print('Bad')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]:
  print("bad")
else:
  print("good")


Failing test case input:
8614

Expected output:
Good


Actual output:
good


Fixed submission (verdict: Accepted):
S = input()
if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]:
  print("Bad")
else:
  print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
ans = False
for i in range(0, 2):
    if s[i] == s[i + 1]:
        ans = True
if ans:
    print("Bad")
else:
    print("Good")

Failing test case input:
8244

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = input()
ans = False
for i in range(0, 3):
    if s[i] == s[i + 1]:
        ans = True
        break
if ans:
    print("Bad")
else:
    print("Good")
Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import re
s = input()
pattern = r"(00)|(11)|(22)|(33)|(44)|(55)|(66)|(77)|(88)|(99)"
if(re.match(pattern, s)):
  print("Bad")
else:
  print("Good")

Failing test case input:
1447

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
import re
s = input()
pattern = r"(00|11|22|33|44|55|66|77|88|99)"
if(re.search(pattern, s)):
	print("Bad")
else:
	print("Good")

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

input = sys.stdin.readline

s = input()

if s[0] != s[1]and s[1] != s[2] and s[2] and s[3]:
    print("Good")
else:
    print("Bad")


Failing test case input:
2155

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
import sys

input = sys.stdin.readline

s = input()

if s[0] != s[1]and s[1] != s[2] and s[2] != s[3]:
    print("Good")
else:
    print("Bad")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
while True:
    try:
        S = input()
        
        for i in range(len(S)-1):
            if S[i] == S[i-1]:
                print("Bad")
                break
        else:
            print("Good")
    except:
        break

Failing test case input:
6416

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
while True:
    try:
        S = input()
        
        for i in range(len(S)-1):
            if S[i] == S[i+1]:
                print("Bad")
                break
        else:
            print("Good")
    except:
        break

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
prev = S[0]
for s in S[1:]:
  if s == prev:
    print("Bad")
    exit()
    
print("Good")

Failing test case input:
6416

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S = input()
prev = S[0]
for s in S[1:]:
  if s == prev:
    print("Bad")
    exit()
  prev = s
    
print("Good")

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=list(input())
for i in range(0,len(s)-1):
    if s[i]==s[i+1]:
        print('Bad')
    else:
        print('Good')


Failing test case input:
9991

Expected output:
Bad


Actual output:
Bad
Bad
Good


Fixed submission (verdict: Accepted):
s=list(input())
for i in range(0,len(s)-1):
    if s[i]==s[i+1]:
        print('Bad')
        break
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())
if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
  print("Good")
else:
  print("Bad")


Failing test case input:
0024

Expected output:
Bad

Actual output:
Good


Fixed submission (verdict: Accepted):
s = list(input())
if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
  print("Bad")
else:
  print("Good")
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())

a = int(s[0])
for i in range(1,len(s)) :
    if (a == s[i]):
        print("Bad")
        exit()
    a = s[i]
print("Good")

Failing test case input:
0024

Expected output:
Bad

Actual output:
Good


Fixed submission (verdict: Accepted):
s = list(input())
 
for i in range(len(s)-1) :
    if ( int(s[i]) == int(s[i+1])):
        print("Bad")
        exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())
cnt = 0
for i in range(len(S)-1):
    if S[i] == S[i+1]:
        print("Bad")
        exit()
print("Yes")

Failing test case input:
1909

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = str(input())
cnt = 0
for i in range(len(S)-1):
    if S[i] == S[i+1]:
        print("Bad")
        exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
flag = 1
n = len(s)
for i in range(1, n):
    if s[i - 1] == s[i]:
        flag = 0
if flag:
    print('Yes')
else:
    print('No')

Failing test case input:
1722

Expected output:
Bad


Actual output:
No


Fixed submission (verdict: Accepted):
s = input()
flag = 1
n = len(s)
for i in range(1, n):
    if s[i - 1] == s[i]:
        flag = 0
if flag:
    print('Good')
else:
    print('Bad')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
s = input()
pre = ''
for i in s:
  if pre == i:
    print('Bad')
    sys.exit()
print('Good')

Failing test case input:
3773

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
import sys
s = input()
pre = ''
for i in s:
  if pre == i:
    print('Bad')
    sys.exit()
  pre = i
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
for i in range(2):
    if S[i]==S[i+1]:
        print('Bad')
        exit()
print('Good')


Failing test case input:
1344

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
S=input()
for i in range(3):
    if S[i]==S[i+1]:
        print('Bad')
        exit()
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
D = dict()
N = len(S)
count = False
for i in range(N):
    if S[i] in D:
        count = True
    else:
        D[S[i]] = 1
if count:
    print('Bad')
else:
    print('Good')

Failing test case input:
18986

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S = input()
D = dict()
N = len(S)
count = False
for i in range(N-1):
    a = S[i+1]
    if S[i] == a:
        count = True
        break
if count:
    print('Bad')
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input();print("GBOAODD"[1^(w[0]!=w[1]!=w[2]!=w[3])::2])

Failing test case input:
1159

Expected output:
Bad


Actual output:
BAD


Fixed submission (verdict: Accepted):
w=input();print("GBoaodd"[1^(w[0]!=w[1]!=w[2]!=w[3])::2])
Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
for i in range(3):
  if s[i] == s[i+1]:
    print("bad")
    exit()
print("Good")

Failing test case input:
11746

Expected output:
Bad


Actual output:
bad


Fixed submission (verdict: Accepted):
s = input()
for i in range(3):
  if s[i] == s[i+1]:
    print("Bad")
    exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=str(input () )
B=0
while B != 2:
    if A[B]==A[B+1]:
        print('Bad')
        break
    else:    
        B=B+1
else:
    print('Good')    

Failing test case input:
47440

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
A=str(input () )
B=0
while B!=3:
    if A[B]==A[B+1]:
        print('Bad')
        break
    else:    
        B=B+1
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
password = list(input())
for i in range(3):
    if password[i] == password[i+1]:
        print("Bad")
        break
    else:
        print("Good")
        break

Failing test case input:
47440

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
password = list(input())
for i in range(3):
    if password[i] == password[i+1]:
        print("Bad")
        break
else:
    print("Good")

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
line=list(input())
print(line)
for i in range(3):
    if line[i]==line[i+1]:
        print('Bad')
        break
    if i==2:
        print('Good')


Failing test case input:
12101

Expected output:
Good


Actual output:
['1', '2', '1', '0', '1']
Good


Fixed submission (verdict: Accepted):
line=list(input())

for i in range(3):
    if line[i]==line[i+1]:
        print('Bad')
        break
    if i==2:
        print('Good')

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S=list(input())
flag=0
b='a'
for s in S:
    if b==s:
        flag=1
    b=s
if flag==0:
    print("Bad")
else:
    print("Good")

Failing test case input:
15164

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S=list(input())
flag=0
b='a'
for s in S:
    if b==s:
        flag=1
    b=s
if flag==1:
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=list(input())
for i in range(0,len(s)-1):
    if s[i]==s[i+1]:
        print('Bad')
        break
print('Good')


Failing test case input:
12253

Expected output:
Bad


Actual output:
Bad
Good


Fixed submission (verdict: Accepted):
s=list(input())
for i in range(0,len(s)-1):
    if s[i]==s[i+1]:
        print('Bad')
        break
else:
    print('Good')
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
num = 0
for i in range(len(s)-1):
        print(i)
        if s[i] == s[i+1]:
                num = 1
print("Good") if num == 0 else print("Bad")

Failing test case input:
10429

Expected output:
Good


Actual output:
0
1
2
3
Good


Fixed submission (verdict: Accepted):
s = input()
num = 0
for i in range(len(s)-1):
        if s[i] == s[i+1]:
                num = 1
print("Good") if num == 0 else print("Bad")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def checker(s):
    for i,v in enumerate(s[1:]):
        if s[i-1] == s[i]:
            return("Bad")
    return("Good")
s = input()

print(checker(s))

Failing test case input:
1722

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
def checker(s):
    for i,v in enumerate(s[:-1]):
        if s[i] == s[i+1]:
            return("Bad")
    return("Good")
s = input()

print(checker(s))

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import sys

L = list(input())
print(L)
for i in range(len(L)):
    for j in range(len(L)):
        if (i != j) and (abs(i-j) == 1) and (L[i] == L[j]):
            print("Bad")
            sys.exit()
print("Good")


Failing test case input:
3116

Expected output:
Bad


Actual output:
['3', '1', '1', '6']
Bad


Fixed submission (verdict: Accepted):

import sys

L = list(input())
for i in range(len(L)):
    for j in range(len(L)):
        if (i != j) and (abs(i-j) == 1) and (L[i] == L[j]):
            print("Bad")
            sys.exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
	print ("Bad")
else:
	print ("Yes")

Failing test case input:
1909

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
	print ("Bad")
else:
	print ("Good")

Problem: p02993
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):

s = str(input().split())
i = 0 + 2
while True:
    print(i,' : ',s[i])
    if s[i] == s[i + 1]:
        print_ans = 'Bad'
        break
    else:
        print_ans = 'Good'
    i += 1
    if i == 3 + 2:
        break
    
print(print_ans)

Failing test case input:
18986

Expected output:
Good


Actual output:
2  :  1
3  :  8
4  :  9
Good


Fixed submission (verdict: Accepted):
s = str(input().split())
i = 0 + 2
while True:
    if s[i] == s[i + 1]:
        print_ans = 'Bad'
        break
    else:
        print_ans = 'Good'
    i += 1
    if i == 3 + 2:
        break
    
print(print_ans)

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
ans = True
for i in s:
    if(abs(s.find(i)-s.rfind(i)) == 1):
        ans = False
if ans == True:
    print("Yes")
else:
    print("No")


Failing test case input:
1229

Expected output:
Bad


Actual output:
No


Fixed submission (verdict: Accepted):
s = input()
ans = True
for i in s:
    if(s.count(i+i)):
        ans = False
if ans == True:
    print("Good")
else:
    print("Bad")
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ls = list(map(int,input()))
for i in range(len(ls)-1):
  if(ls[i] == ls[i+1]):
    print("bad")
    exit()
print("good")

Failing test case input:
9145

Expected output:
Good


Actual output:
good


Fixed submission (verdict: Accepted):
ls = list(map(int,input()))
for i in range(len(ls)-1):
  if(ls[i] == ls[i+1]):
    print("Bad")
    exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
var = True
for i in range(1, len(s)):
  if s[i]!=s[i-1]:
    var = False
    break
    
if var:
  print("Good")
else:
  print("Bad")

Failing test case input:
1430

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s = input()
var = True
for i in range(1, len(s)):
  if s[i]==s[i-1]:
    var = False
    break
    
if var:
  print("Good")
else:
  print("Bad")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

result='Good'
for i in range(1, len(S)):
    if S[i-1]==S[i]:
        S = 'Bad'
        break
print(result)

Failing test case input:
2155

Expected output:
Bad


Actual output:
Good


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

result='Good'
for i in range(1, len(S)):
    if S[i-1]==S[i]:
        result = 'Bad'
        break
print(result)

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())

for i in range(len(s)):
    if s.count(s[i]) == 1:
        print("Good")
        quit()
print("Bad")

Failing test case input:
1344

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = list(input())
 
if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
        print("Bad")
        quit()
print("Good")

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S=input()
for i in range(len(S)-1):
    if S[i]==S[i+1]:
        print('Good')
print('Bad')

Failing test case input:
13917

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S=input()
for i in range(len(S)-1):
    if S[i]==S[i+1]:
        print('Bad')
        exit()
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import re


def judge(S):
	S_list  = list(str(S))  
	
	i_pure = None
	for i in S_list:
		if i == i_pure:
			return 'Bad'
		i_pure = i

	return 'Good'




S = input('input:')



print(judge(S))

Failing test case input:
1447

Expected output:
Bad


Actual output:
input:Bad


Fixed submission (verdict: Accepted):
from sys import stdin

def judge(S):
	S_list  = list(str(S))  
	
	i_pure = None
	for i in S_list:
		if i == i_pure:
			return 'Bad'
		i_pure = i

	return 'Good'




S = stdin.readline()



print(judge(S))

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = str(input())
for i in range(0, 4):
    if s[i - 1] == s[i]:
        print('Bad')
        exit()
print('Good')

Failing test case input:
12101

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s = str(input())
for i in range(3):
    if s[i] == s[i + 1]:
        print('Bad')
        exit()
print('Good')
Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S=input()

if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]:
    print("bad")
else:
    print("good")

Failing test case input:
4487

Expected output:
Bad


Actual output:
bad


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

if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]:
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = input()
print(["Yes" if n[0] != n[1] != n[2] != n[3] else "No"][0])

Failing test case input:
3116

Expected output:
Bad


Actual output:
No


Fixed submission (verdict: Accepted):
n = input()
print(["Good" if n[0] != n[1] != n[2] != n[3] else "Bad"][0])

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())
s = sorted(s)
if s[0] != s[1] and s[1] != s[2] and s[2] != s[3]:
     print('Good')
else:
     print('Bad')

Failing test case input:
12101

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s = list(input())
if s[0] != s[1] and s[1] != s[2] and s[2] != s[3]:
     print('Good')
else:
     print('Bad')

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
 s = sorted(input())
 if s[0] != s[1] and s[1] != s[2] and s[2] != s[3]:
     print('Good')
 else:
     print('Bad')
main()

Failing test case input:
23503

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
def main():
 s = input()
 if s[0] != s[1] and s[1] != s[2] and s[2] != s[3]:
     print('Good')
 else:
     print('Bad')
main()

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import re
s = input()
pattern = r"(00|11|22|33|44|55|66|77|88|99)"
if(re.match(pattern, s)):
	print("Bad")
else:
	print("Good")

Failing test case input:
2155

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
import re
s = input()
pattern = r"(00|11|22|33|44|55|66|77|88|99)"
if(re.search(pattern, s)):
	print("Bad")
else:
	print("Good")

Problem: p02993
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
s=input()
if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:
  print("Good")
else:
  print("Bad")

Failing test case input:
10674

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s=input()
if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:
  print("Bad")
else:
  print("Good")

Problem: p02993
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()
for i in range(3):
    if s[i]==s[i+1]:
        print('Bad')
        exit()
print('Yes')


Failing test case input:
9215

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
s=input()
for i in range(3):
    if s[i]==s[i+1]:
        print('Bad')
        exit()
print('Good')
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections
Sin = input()

S = [int(x) for x in list(str(Sin))]

test = 0
for i in range(len(S)-1):
    if S[i+1] == S[i]:
        print("Bad")
        test = 1
if test ==0:
    print("Good")


Failing test case input:
2220

Expected output:
Bad


Actual output:
Bad
Bad


Fixed submission (verdict: Accepted):
	
import sys
Sin = input()

S = [int(x) for x in list(str(Sin))]

test = 0
for i in range(0,3):

    if S[i+1] == S[i]:
        print("Bad")
        test = 1
        sys.exit()
        
if test !=1:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = [i for i in input()]

f = 1

for i in range(len(s)-1):
    if f == 1 and s[i] == s[i+1]:
        print('Bad')
        f = 0
if f:
    print('True')

Failing test case input:
9145

Expected output:
Good


Actual output:
True


Fixed submission (verdict: Accepted):
s = [i for i in input()]

f = 1

for i in range(len(s)-1):
    if f == 1 and s[i] == s[i+1]:
        print('Bad')
        f = 0
if f:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("Good" if s[0]!=s[1] or s[1]!=s[2] or s[2]!=s[3] else "Bad")

Failing test case input:
7702

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s=input()
print("Bad" if s[0]==s[1] or s[1]==s[2] or s[2]==s[3] else "Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
if S[0]==S[1]:
  print('bad')
elif S[1]==S[2]:
  print('bad')
elif S[2]==S[3]:
  print('Bad')
else:
  print('Good')


Failing test case input:
3776

Expected output:
Bad

Actual output:
bad


Fixed submission (verdict: Accepted):
S=input()
if S[0]==S[1]:
  print('Bad')
elif S[1]==S[2]:
  print('Bad')
elif S[2]==S[3]:
  print('Bad')
else:
  print('Good')

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

number=input()

for n in range(0,2):
    if number[n]==number[n+1]:
        print('Bad')
        sys.exit()
print('Good')

Failing test case input:
10665

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
import sys

number=input()

for n in range(3):
    if number[n]==number[n+1]:
        print('Bad')
        sys.exit()
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
n = S[0]
for i in range(4):
    if S[i:i+1]==n:
        print("Bad")
        break
    n = S[i:i+1]
print("Good")

Failing test case input:
9217

Expected output:
Good


Actual output:
Bad
Good


Fixed submission (verdict: Accepted):
S = input()
n = ""
ans = "Good"
for i in range(4):
    if S[i:i+1]==n:
        ans = "Bad"
        break
    n = S[i:i+1]
print(ans)
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = input()
S = [s for s in R]
T = set(S)
if len(S) > len(T):
    print('Bad')
else:
    print('Good')

Failing test case input:
29052

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
R = input()
S = [s for s in R]
if S[0] == S[1] or S[1] == S[2] or S[2] == S[3]:
    print('Bad')
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

pas = input("password: ")
pas = list(pas)

for i in range(3):
    if pas[i] == pas[i+1]:
        print('Bad')
        exit()
    a = i
print('Good')


Failing test case input:
10665

Expected output:
Bad


Actual output:
password: Bad


Fixed submission (verdict: Accepted):

pas = input()
pas = list(pas)

for i in range(3):
    if pas[i] == pas[i+1]:
        print('Bad')
        exit()
    a = i
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())

if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
    print("bad")
else:
    print("Good")

Failing test case input:
0024

Expected output:
Bad

Actual output:
bad


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

if s[0] == s[1] or s[1] == s[2] or s[2] == s[3]:
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
for i in range(2):
    if S[i] == S[i+1]:
        print("Bad")
        exit()
print("Good")

Failing test case input:
8244

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
S = input()
for i in range(len(S)-1):
    if S[i] == S[i+1]:
        print("Bad")
        exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())
cnt = 0
for i in range(len(S)-1):
    if S[i] == S[i+1]:
        print("Bad")
        print(S[i],S[i+1])
        exit()
print("Good")

Failing test case input:
7702

Expected output:
Bad


Actual output:
Bad
7 7


Fixed submission (verdict: Accepted):
S = str(input())
cnt = 0
for i in range(len(S)-1):
    if S[i] == S[i+1]:
        print("Bad")
        exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
for i in range(0, 2):
  if(a[i] == a[i+1]):
    b = False
    break
  else:
    b = True
if(b == True):
  print("Good")
else:
  print("Bad")
 

Failing test case input:
1344

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
a = input()
for i in range(3):
  if(a[i] == a[i+1]):
    b = False
    break
  elif(a[i] != a[i+1]):
    b = True
if(b == False):
  print("Bad")
else:
  print("Good")
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=int(input())
n=1
while n>0.001:
    if int(S/1000*n)==int(S/100*n)-int(S/1000*n):
        print("Bad")
        break
    else:
        n=n/10
else:
    print("Good")

Failing test case input:
3075

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S=int(input())
n=1
while n>0.001:
    if S
        print("Bad")
        break
    else:
        S=S-(1000*n)*(S
        n=n/10
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

if S[0] == S[1]:
  print('Bad')
elif S[1] == S[2]:
  print('Bad')
elif S[2] == S[3]:
  print('Bad')
else:
  print('Yes')

Failing test case input:
15205

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
 
if S[0] == S[1] or S[1] == S[2] or S[2] == S[3]:
  print('Bad')
else:
  print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
number = input()
s = number[0]

for i in range(1,4):
  if s == number[i]:
    print("Bad.")
    exit()
  
  s = number[i]
  
print("Good.")
    

Failing test case input:
12101

Expected output:
Good


Actual output:
Good.


Fixed submission (verdict: Accepted):
number = input()
s = number[0]

for i in range(1,4):
  if s == number[i]:
    print("Bad")
    exit()
  
  s = number[i]
  
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
i=list(input())
o=0
for j in range(3):
  if int(i[j])==int(i[j+1]):
    print('Bad')
    o+=1
    break
  else:
    None
if o==1:
  print('Good')
else:
  None
 

Failing test case input:
3734

Expected output:
Good


Actual output:

Fixed submission (verdict: Accepted):
i=list(input())
o=0
for j in range(3):
  if int(i[j])==int(i[j+1]):
    print('Bad')
    o+=1
    break
  else:
    None
if o==0:
  print('Good')
else:
  None

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
for i in range(len(S)):
    if S[i-1] == S[i]:
        print("Bad")
        exit()
print("Good")

Failing test case input:
6416

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S = list(input())
for i in range(1,4):
    if S[i-1] == S[i]:
        print("Bad")
        exit()
print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print(s)

if (s[0] == s[1]) or (s[1] == s[2]) or (s[2] == s[3]):
    print('Bad')
else:
    print('Good')

Failing test case input:
12253

Expected output:
Bad


Actual output:
12253
Bad


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

if (s[0] == s[1]) or (s[1] == s[2]) or (s[2] == s[3]):
    print('Bad')
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=input()
if N[0]==N[1] or N[1]==N[2] or N[2]==N[3] :
    print("Good")
else:
    print("Bad")

Failing test case input:
8243

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
N=input()
if N[0]==N[1] or N[1]==N[2] or N[2]==N[3] :
    print("Bad")
else:
    print("Good")
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

pas = input("password: ")
pas = list(pas)

for i in range(3):
    if pas[i] == pas[i+1]:
        print("Bad")
        exit()
    a = i
print("Good")


Failing test case input:
5970

Expected output:
Good


Actual output:
password: Good


Fixed submission (verdict: Accepted):

pas = input()
pas = list(pas)

for i in range(3):
    if pas[i] == pas[i+1]:
        print('Bad')
        exit()
    a = i
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=int(input())
n=1
while n>0.01:
    if int(S/1000*n)==int(S/100*n)-10*int(S/1000*n):
        print("Bad")
        break
    else:
        n=n/10
else:
    print("Good")

Failing test case input:
1344

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
S=int(input())
n=1
while n>0.001:
    if S
        print("Bad")
        break
    else:
        S=S-(1000*n)*(S
        n=n/10
else:
    print("Good")

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = input()
for i in  range(1,len(S)):
    if S[i-1] == S[i]:
        print('Bad')
    else:
        print('Good')

Failing test case input:
7702

Expected output:
Bad


Actual output:
Bad
Good
Good


Fixed submission (verdict: Accepted):
S = input()
for i in  range(1,len(S)):
    if S[i-1] == S[i]:
        print('Bad')
        exit()
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
for i in range(4):
    if s[i] == s[i-1]:
        print('Bad')
        break
    elif i == 3:
        print('Good')
    else:
        continue

Failing test case input:
29052

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
s = input()
for i in range(4):
    if s[i] == s[i-1] and i is not 0:
        print('Bad')
        break
    elif i == 3:
        print('Good')
    else:
        continue

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(input())
for i in range(len(a)-1):
	if a[i]==a[i+1]:
		print("Good")
		break
else:print("Bad")

Failing test case input:
15164

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
a=list(input())
for i in range(len(a)-1):
	if a[i]==a[i+1]:
		print("Bad")
		break
else:print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())

prev = S[0]
ans = 'Good'

print(S)
for i in range(1, len(S)):
  if S[i] == prev:
    ans = 'Bad'
  
  prev = S[i]
  
print(ans)

Failing test case input:
1159

Expected output:
Bad


Actual output:
['1', '1', '5', '9']
Bad


Fixed submission (verdict: Accepted):
S = list(input())

prev = S[0]
ans = 'Good'

for i in range(1, len(S)):
  if S[i] == prev:
    ans = 'Bad'
  
  prev = S[i]
  
print(ans)
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
tmp = S[0]
for num in S[1:]:
    if num == tmp:
        print('Bad')
        exit()
    tmp = num
print('Yes')

Failing test case input:
14072

Expected output:
Good


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
tmp = S[0]
for num in S[1:]:
    if num == tmp:
        print('Bad')
        exit()
    tmp = num
print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
f=False
for i in range(len(S)-1):
    if S[i]==S[i+1]:
        f=True
        break
if f:
    print("Good")
else:
    print("Bad")

Failing test case input:
25859

Expected output:
Good


Actual output:
Bad


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

f=False
for i in range(len(S)-1):
    if S[i]==S[i+1]:
        f=True
        break
if f:
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
for i in range(len(S)-2):
  if S[i]==S[i+1]:
    print("Bad")
else:
  print("Good")

Failing test case input:
22385

Expected output:
Bad


Actual output:
Bad
Good


Fixed submission (verdict: Accepted):
S=input()
for i in range(len(S)-1):
    if S[i]==S[i+1]:
        print("Bad")
        break
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
for i in range(1, len(S)):
    if S[i - 1] == S[i]:
        break
        print('Bad')
else:
    print('Good')

Failing test case input:
1722

Expected output:
Bad


Actual output:

Fixed submission (verdict: Accepted):
S = input()
for i in range(1, len(S)):
    if S[i - 1] == S[i]:
        print('Bad')
        break
else:
    print('Good')

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

def main():
    s = input()
    cnt = 0
    for i in range(1, len(s)):
        if s[i-1] == s[i]:
            cnt += 1
    if cnt >= 2:
        print('Bad')
    else:
        print('Good')


if __name__ == "__main__":
    main()


Failing test case input:
1447

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):

def main():
    s = input()
    cnt = 0
    for i in range(1, len(s)):
        if s[i-1] == s[i]:
            cnt += 1
    if cnt >= 1:
        print('Bad')
    else:
        print('Good')


if __name__ == "__main__":
    main()

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
  inp = input()
  before =None
  for a in inp:
    if before is None:
      before = a
      continue
    if before == a:
      print("Bad")
      return
    before = a
  print("Good")

Failing test case input:
16798

Expected output:
Good


Actual output:

Fixed submission (verdict: Accepted):
def main():
  inp = input()
  before =None
  for a in inp:
    if before is None:
      before = a
      continue
    if before == a:
      print("Bad")
      return
    before = a
  print("Good")

main()
Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
in_ = input()
is_ok = "Bad"
for i in range(0,len(in_)-1):
  if in_[i] == in_[i+1]:
    pass
  else:
    is_ok = 'Good'
print(is_ok)


Failing test case input:
3776

Expected output:
Bad

Actual output:
Good


Fixed submission (verdict: Accepted):
in_ = input()
is_ok = "Good"
for i in range(0,len(in_)-1):
  if in_[i] == in_[i+1]:
    is_ok = "Bad"
print(is_ok)

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
ans = True
for i in s:
    if(abs(s.find(i)-s.rfind(i)) == 1):
        ans = False
if ans == True:
    print("Good")
else:
    print("Bad")


Failing test case input:
47440

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
s = input()
ans = True
for i in s:
    if(s.count(i+i)):
        ans = False
if ans == True:
    print("Good")
else:
    print("Bad")

Problem: p02993
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = list(input())
A = set(S)
if len(S) == len(A):
    print('Good')
else:
    print('Bad')

Failing test case input:
3050

Expected output:
Good


Actual output:
Bad


Fixed submission (verdict: Accepted):
S = list(input())
if S[0] == S[1] or S[1] == S[2] or S[2] == S[3]:
    print('Bad')
else:
    print('Good')

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=list(input())
n=0
for i in range(len(A)-1):
  if A[i]==A[i+1]:
    n=1
    break
print("good"if n==0 else "bad")

Failing test case input:
9991

Expected output:
Bad


Actual output:
bad


Fixed submission (verdict: Accepted):
A=list(input())
n=0
for i in range(len(A)-1):
  if A[i]==A[i+1]:
    n=1
    break
print("Good"if n==0 else "Bad")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

s=input()
count=0
for i in range(3):
    
    if s[i:i+1]==s[i+1:i+2]:
        count+=1
if count>0:
    print("bad")
else:
    print("good")


Failing test case input:
3776

Expected output:
Bad

Actual output:
bad


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

s=input()
count=0
for i in range(3):
    
    if s[i:i+1]==s[i+1:i+2]:
        count+=1
if count>0:
    print("Bad")
else:
    print("Good")

Problem: p02993
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
num = S[0]
flag = 0
for i in range(1,len(S)):
  if num==S[i]:
    print("Bad")
    flag=1
    break
if flag==0:
  print("Good")

Failing test case input:
2155

Expected output:
Bad


Actual output:
Good


Fixed submission (verdict: Accepted):
S = input()
num = S[0]
flag = 0
for i in range(1,len(S)):
  if num==S[i]:
      print("Bad")
      flag=1
      break
  else:
      num=S[i]
if flag==0:
  print("Good")