aboutsummaryrefslogtreecommitdiff
path: root/codechef/ChefAndFeedBack/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'codechef/ChefAndFeedBack/main.py')
-rw-r--r--codechef/ChefAndFeedBack/main.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/codechef/ChefAndFeedBack/main.py b/codechef/ChefAndFeedBack/main.py
new file mode 100644
index 0000000..afde99f
--- /dev/null
+++ b/codechef/ChefAndFeedBack/main.py
@@ -0,0 +1,8 @@
+t = int(input())
+for i in range(t):
+ s = input()
+ if "101" in s or "010" in s:
+ print("Good")
+ else:
+ print("Bad")
+