2024-03-11 23:22:59 +00:00
|
|
|
def problem_p02993(input_data):
|
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
2024-10-13 01:58:44 +00:00
|
|
|
import math
|
|
|
|
|
import sys
|
2024-03-11 23:22:59 +00:00
|
|
|
|
|
|
|
|
input = lambda: sys.stdin.buffer.readline().rstrip().decode("utf-8")
|
|
|
|
|
|
|
|
|
|
sys.setrecursionlimit(10**8)
|
|
|
|
|
|
|
|
|
|
inf = float("inf")
|
|
|
|
|
|
|
|
|
|
ans = count = 0
|
|
|
|
|
|
|
|
|
|
S = eval(input_data)
|
|
|
|
|
|
|
|
|
|
for i in range(3):
|
|
|
|
|
|
|
|
|
|
if S[i] == S[i + 1]:
|
|
|
|
|
|
|
|
|
|
return "Bad"
|
|
|
|
|
|
|
|
|
|
exit()
|
|
|
|
|
|
|
|
|
|
return "Good"
|