Problem:


Score : 100 points

Problem Statement

The door of Snuke's laboratory is locked with a security code.

The security code is a 4-digit number. We say the security code is hard to enter when it contains two consecutive digits that are the same.

You are given the current security code S. If S is hard to enter, print Bad; otherwise, print Good.

Constraints

S is a 4-character string consisting of digits.

Input

Input is given from Standard Input in the following format:

S

Output

If S is hard to enter, print Bad; otherwise, print Good.

Sample Input 1

3776

Sample Output 1

Bad

The second and third digits are the same, so 3776 is hard to enter.

Sample Input 2

8080

Sample Output 2

Good

There are no two consecutive digits that are the same, so 8080 is not hard to enter.

Sample Input 3

1333

Sample Output 3

Bad

Sample Input 4

0024

Sample Output 4

Bad



Sample input:
3776


Sample output:
Bad

Submission status: Wrong Answer

Solution code:
print(['Good','Bad'][chr(int(input()))in['ᡓ', 'ɮ', 'ᘣ', 'ᄎ', '\u16fb', 'ش', 'ὡ', '᧼', 'Ỏ', 'ᝰ', 'ℒ', 'ᅓ', 'ਆ', 'ᶃ', 'ధ', '൱', ' ', '≆', 'ၾ', '\u20c4', '⇖', '∨', 'ő', 'Ӌ', 'ࢰ', 'ḙ', 'q', 'ᖬ', '≺', 'ƿ', 'ግ', 'ᅷ', 'ʘ', '҈', 'ᖰ', 'ಔ', '\u0cf8', '᭚', 'ࡂ', 'ᅬ', 'ᢲ', 'ࡆ', 'Ҁ', 'ന', 'ߑ', 'ച', '។', 'Ⴊ', 'ଲ', 'Ƞ', '༮', '᩶', '⇔', 'ᵢ', 'ᓘ', '⊵', '\u2029', '‿', 'ᨆ', 'ỏ', 'ƻ', 'ᦜ', 'ῐ', '᧐', 'ᕿ', 'ഐ', 'ᅙ', 'ᓊ', '֤', '⁷', 'സ', '⅕', '\x00', 'ᤪ', 'ᚨ', '৻', 'ႁ', 'ൿ', '᰻', '์', '࿁', '⊂', 'ୄ', 'ℨ', 'ᙏ', 'ژ', 'ᐂ', 'ᦝ', '₍', 'ᅨ', '෮', 'ᕁ', '\u0eba', 'ढ', '≪', '\u1ae2', 'Ӝ', 'ȩ', 'F', '\x85', 'ᖴ', 'ᇇ', 'ל', 'ᖛ', 'Ֆ', '\u0ce5', '\x1b', 'ਨ', '\u08c5', 'Ὰ', '−', 'ႀ', '᪼', 'Ṛ', '\u0c74', 'љ', '߱', 'এ', '\u19dc', 'Ḙ', 'ᴑ', '\u0ff8', '˒', 'ᖑ', 'ᑛ', 'ʄ', 'ෟ', '੪', '᧓', 'ᖞ', '\u0a64', 'Ḽ', 'o', 'Ⅷ', 'ឆ', 'Ғ', 'z', 'ୀ', 'ᾳ', 'ᅱ', 'һ', '≥', '᧣', 'ᤖ', 'Ѣ', 'ᖲ', 'ଽ', '᧻', 'ឲ', '\u1ae3', 'ᕅ', 'ϩ', '༬', '˾', 'ᛵ', 'ჲ', 'ً', 'Ӈ', 'Ḗ', 'ß', 'ద', '"', 'ƹ', '\u0cff', 'ୃ', 'ɣ', '⇼', 'Ố', 'ज', 'ᡐ', '᪄', 'ѧ', '༭', '⇰', 'ᴘ', 'ᙻ', '⊐', 'ᅊ', '᰼', 'ᘤ', 'ᯋ', 'Ც', 'ḟ', 'ь', '\u192c', 'ṟ', 'Ѱ', '᭠', 'ᙄ', '\x05', '\u0cfd', 'L', 'V', 'ᣩ', 'പ', '≸', 'ѿ', 'ɘ', '́', 'ӌ', 'ड', 'ᡔ', 'ᾍ', '\u0c29', '\u1a1c', 'Ȩ', 'ᅕ', 'న', '҄', 'ᒝ', ',', '\u08ca', 'Ṕ', 'n', 'ᆆ', 'ᕂ', '\x10', '⊘', 'ᔣ', '\u09da', '\u08cf', 'ጓ', '\u083f', '᳨', 'ഭ', '\u16fa', 'ᆀ', 'इ', 'ҙ', 'Ṓ', 'ᴪ', '\u1ae1', 'ᖼ', 'ၨ', 'ᩘ', 'ᴖ', 'Ŏ', 'ప', 'ઌ', 'ભ', 'ᗆ', '᭞', 'Ⅺ', 'Ꮚ', '̊', 'B', '̉', 'Ǉ', 'ஹ', '₂', 'യ', 'Ḥ', 'ᇋ', 'ᾤ', '֠', 'ူ', 'ࡊ', 'ᲄ', 'ᕏ', 'ᖩ', 'ᗊ', 'ߔ', '\u19cf', '\u19dd', '\u08c6', 'ᡃ', 'Ѯ', 'ࢩ', 'ሹ', 'ᄃ', '\x0e', 'ᖳ', 'ᖮ', '᠖', 'Ḧ', 'Ṧ', 'ᖝ', '഻', 'ᑨ', '\u0898', '\u08c1', '⊳', '๎', 'ഊ', 'ᔘ', '\u17de', '\u206c', '֥', '\u17df', 'я', 'Ṣ', 'ᷴ', 'Ǵ', '᧔', 'ᆪ', 'Ⅾ', 'Ⅶ', ')', 'ᗐ', 'ᅭ', 'ᓶ', '≿', 'Უ', '⇕', '≹', 'ؔ', '%', 'ᆇ', 'Ԫ', 'Ѭ', '⇗', 'ᾰ', '༩', 'ᶄ', 'Ҟ', '\u0ee3', 'ḽ', 'ಡ', 'ᓕ', 'ᄳ', 'ᘜ', 'ݟ', 'ಕ', '\u0be4', '᧶', 'ಛ', '⊡', '᧰', 'ሯ', 'ा', 'ӊ', 'ᨈ', 'ʥ', 'ḷ', 'ᅄ', 'ỉ', 'ࣩ', '\u20f8', 'ᅚ', '!', '≊', '\x08', 'ᓠ', '\u0cfc', 'ↁ', 'ࡅ', '₣', 'ࢲ', '\u0d0d', '∾', 'Ȭ', 'ᖄ', 'ࣞ', 'Ṟ', 'Ѳ', '⇜', 'ೲ', '<', 'ᘸ', 'ᗌ', 'ࣼ', 'ÿ', '≡', 'ઢ', 'Ⴕ', 'ō', '֣', 'ስ', 'ᯉ', '৶', 'ࣔ', '\x11', 'ᆵ', 'ᐣ', '⇄', 'ۦ', 'ᕚ', 'ѹ', 'ധ', 'ᄰ', 'ᎈ', 'ҋ', 'v', 'ᡤ', 'ᯍ', '≯', 'ீ', '⇙', 'Ѧ', '\u0ae4', 'ై', '൶', '\u1777', 'Ṡ', '\u1ff1', 'ᖋ', '࣫', '⊕', 'ѻ', 'ᖾ', 'ᓔ', '҂', '⃦', '\u0e68', '̃', 'ᖓ', 'ྦྷ', 'ḯ', 'Þ', 'ᚑ', 'Ḣ', '\n', 'ᨇ', '2', '\u0bbb', '\u0ad5', '\u1774', 'ࠇ', 'ᄲ', '\u0fe2', 'ܴ', 'छ', 'ᄾ', '̫', 'ʗ', 'ߕ', '„', 'ဓ', 'ۭ', 'ḳ', 'ᠡ', '≈', 'ᇆ', 'ယ', '࣠', '\u20fb', 'ћ', '᧴', 'ഉ', 'န', '\u1776', 'Ѹ', 'ǒ', '೯', '\u192d', 'ዀ', '༨', '\u0ad3', 'ڄ', '\u0de3', 'ਲ਼', 'ဥ', '\u16f9', '\u0ea0', '᩺', 'ᮚ', 'Ґ', 'Ѿ', 'ᘟ', 'ߐ', 'ᯈ', '⊟', 'Ͱ', 'ᎊ', 'ᅈ', 'ᅖ', 'ϳ', 'ᓫ', '⊤', 'ᘡ', 'є', 'ഹ', 'ᨂ', 'ӧ', '۬', '\u19cd', 'ኈ', '͌', 'ţ', 'ᖇ', '\u0bbc', '᭛', '\u0de0', 'ᶤ', '\x04', 'ᖦ', 'ᖸ', '\u08e2', 'ᴐ', 'ᕼ', 'ᇌ', 'ɹ', 'ᚎ', 'ா', 'ࠨ', 'ᯌ', 'ᾲ', 'ᤷ', 'Ṹ', 'ٽ', '᩵', 'Ꭹ', 'ෘ', 'ච', 'Җ', 'ᷰ', 'ṇ', 'ᝲ', '\u0bd9', '\u089c', 'ṃ', 'Դ', 'ᠸ', 'ᾴ', 'ᅼ', 'ṝ', 'ې', 'э', 'ḫ', '\u1771', 'တ', '\u08be', '3', 'Ͳ', '\u0ad9', 'Ấ', 'ॠ', '⊦', '\u1ae4', 'ᖀ', 'Ġ', 'ᗃ', 'ƽ', 'Ԕ', '\u0b46', 'ߒ', 'Ị', 'ঐ', 'ᗑ', 'ٖ', '\u0ce4', '๒', 'K', 'Ⅽ', 'ṧ', 'ℇ', '۰', '៥', '–', 'ᨑ', '⊈', '᭮', '᧒', '\u08c7', 'ࡄ', '\u13f7', 'ฐ', 'ኪ', 'ₑ', 'ᡯ', '᩹', '൩', 'ὅ', 'Ꮰ', 'ໂ', 'ƺ', 'ḛ', '๓', '8', 'ᄤ', '̈', 'ࣰ', 'Ʊ', 'ᅁ', 'ᅯ', 'ẙ', 'ၼ', 'ὁ', '≲', '৽', 'ണ', 'ڤ', 'ᯎ', 'ᡏ', '≤', 'ӆ', 'ៈ', 'ᄵ', 'ḩ', 'ѡ', '᰷', 'ࢯ', 'Ҋ', '֙', 'ऒ', '⃐', 'ᳳ', '\x1f', 't', 'ߛ', 'ὀ', 'ᓒ', 'Ȫ', 'Ǩ', '⊓', '\u08c3', 'ᨅ', '༪', 'ܿ', '\u0d11', 'ຕ', '৹', 'Ċ', '•', 'ᖗ', 'ҡ', 'Ṫ', 'ᾮ', 'ᅾ', 'گ', '࿗', 'ࢣ', '۲', 'ᒴ', '\u0ad8', 'ᢅ', 'ݞ', '\u09e5', 'ᗏ', 'ࢶ', 'ᖐ', '\u13f6', 'ᕄ', '\u1775', 'ര', 'ѭ', 'ᷭ', 'ᖪ', 'Ƽ', 'ᒨ', '\u0ebf', 'ഓ', '\u1316', 'ᇈ', '\x1a', 'Ƹ', '\u089b', 'ђ', '\u088c', 'ᕃ', 'Ѥ', 'ᎍ', 'ᖫ', 'ѥ', 'ᔁ', 'ᘭ', 'ᨛ', 'ᩲ', '᧤', 'ჯ', '⊬', 'ᘢ', 'ᏹ', 'ᴗ', 'Ⅸ', 'ჭ', 'Ꮏ', 'ᕆ', 'א', 'Ṝ', '\u0d53', 'ቲ', '\u1a1d', 'ኩ', 'Թ', '᧖', '\u0cf4', 'Ლ', 'ᷲ', 'Ḿ', '⊮', 'ҝ', '⊋', 'ᦙ', 'ഠ', 'ṉ', '២', 'ӄ', '̔', '۪', '\u16ff', 'ࠒ', '≵', '᭝', 'ḵ', 'Ϯ', 'წ', 'ബ', '੧', 'ᷮ', 'ঋ', '\u098d', 'ᩣ', '\u20fa', 'Ѫ', '*', 'ሼ', '\x16', '/', 'H', 'Ӆ', 'ṛ', 'ᣈ', 'न', 'Ő', '᧽', '١', 'ទ', '᧞', '็', 'ᎋ', '᧷', 'ʰ', '≔', '᧗', '6', 'ḣ', 'à', 'ᱢ', 'ᅐ', '௺', 'ᖿ', 'ഘ', 'ഔ', '\u1cfe', 'Ṑ', '͵', 'ᑦ', 'Ṙ', 'ഡ', 'ᘁ', 'ఐ', 'r', '\u1c8f', 'ഃ', '৸', 'ျ', 'ĕ', 'ю', 'Ẻ', 'Ḷ', '\u19cb', '᨞', 'Ѽ', '᱗', 'ϭ', 'វ', '۫', 'ᴔ', 'ᤡ', 'ഌ', 'U', '⊩', 'ঊ', 'ഢ', 'ഏ', 'ᾘ', 'ᶀ', 'ᨄ', '⊙', 'ᡎ', '≅', 'ጂ', '(', 'ᣴ', '≂', 'ո', '9', 'ᄺ', 'ࡠ', 'ኴ', '᩸', 'ᗉ', '҆', '᧩', 'ᨀ', 'ኤ', '໘', 'ᅌ', 'ᷳ', '℀', 'Ʀ', 'ᆔ', 'ᩳ', 'ᗄ', '≦', 'ႃ', 'ʙ', 'ᑥ', '\u0cfa', 'Ⴠ', 'ആ', '≧', 'Հ', 'গ', '᠀', 'ʹ', '⊫', '\u1ae7', 'ࡀ', 'ᅽ', 'ಀ', 'ᕇ', 'ਜ', 'ୁ', 'ϰ', 'മ', 'ᅺ', 'ᖶ', 'ᩮ', 'Ღ', '\u0b45', '₊', 'Ͷ', '≮', '៵', 'ᣞ', 'ഒ', 'ᖤ', 'ट', 'â', '๏', 'ᖆ', 'ᇬ', 'ȫ', '⊲', '\u0a49', '\u089f', 'ጘ', '\u0bba', 'ᅦ', 'ᑬ', 'Ź', 'ₐ', 'Ḛ', 'ሙ', 'ࢭ', '౩', 'ࡃ', 'ᒇ', '\u089a', 'Ṭ', '್', 'ഫ', '≃', 'ṩ', 'ᤰ', 'Ü', '⊢', 'ᴒ', '\x17', 'W', 'ၽ', '⊀', '\u08c8', 'ᆟ', 'ᗍ', '†', 'ኣ', '¦', 'ᷯ', 'ј', 'ᔹ', '᮰', 'ത', 'ᛉ', 'ᩍ', 'ݘ', 'ᦱ', 'ᨔ', 'Ꮄ', 'ᴉ', 'ᗓ', 'ᆄ', 'Ḹ', 'ॶ', 'ѵ', '᧾', 'ࢤ', 'ᢿ', 'ѷ', 'ఫ', 'ᦗ', 'ಚ', 'ᤩ', '\u0fed', 'ᔌ', 'ᾂ', '₮', '೫', 'ྤ', '↹', 'ഷ', '\u0881', 'Q', '\u1ae6', '$', '\u20fe', 'ᖚ', '᧬', 'ʕ', 'ߖ', 'ᕽ', '\u08c2', 'ୈ', 'ᢼ', 'అ', 'Љ', 'ശ', 'ᖜ', 'ሻ', 'ᙥ', 'ᩂ', 'ভ', 'ഇ', 'ᥤ', 'Ḕ', 'ົ', 'භ', '५', '᭘', 'ᷧ', '೮', '⊪', '⇘', 'ࢷ', 'ძ', 'ᎌ', 'ዡ', 'ݝ', 'ແ', 'ठ', 'Ṗ', 'ᖠ', '͢', 'ߘ', '7', 'ײ', '᠋', 'ṗ', '\x18', 'ഈ', '\u08c0', 'ʜ', 'ഥ', '\u0ad6', 'ᅩ', '൲', 'బ', '\u1ae8', 'റ', 'ѐ', 'ô', 'ྡྷ', 'ᓙ', 'ᑪ', '\u086b', 'ᤋ', '\u0bce', 'ᚏ', 'എ', '᭟', 'ᒒ', '\u0b11', 'ӽ', '⁊', '\u16fd', 'উ', 'Ṋ', 'ങ', 'ჱ', 'Ե', '₋', '̂', '҅', '৺', '\u0a54', '⊱', 'ᄸ', '\u0a65', 'ࣛ', 'ⅶ', 'ټ', 'ṫ', '\x0b', '൴', 'Ὤ', '᳆', 'അ', 'ੵ', 'ۮ', '\u1c38', 'ᷜ', 'ዬ', '൰', 'ߦ', 'ᢽ', '࣬', 'ᖥ', 'ஸ', 'ҏ', 'ಖ', '᧪', 'ᨚ', '\u19ce', 'ᏽ', 'ᗂ', 'ᅝ', 'ኢ', '\u0378', 'Ọ', 'ዋ', 'ᅛ', 'ٿ', 'ࣤ', '0', 'ڃ', '᷑', 'ǀ', 'ȭ', '\u20ff', 'ႄ', '᧕', '⊜', 'ᇡ', 'ͳ', 'ᦞ', 'ป', 'ᖨ', 'ᦖ', '\u1ac7', 'ࢴ', 'ᄴ', 'ࢳ', 'ၜ', '០', 'ᢐ', 'ᗈ', 'ᗎ', 'ᷱ', 'ᓗ', '\u0ada', 'ԟ', 'ᅧ', 'փ', '”', '\u0a5f', '\u0ad7', 'ቅ', 'ᦦ', 'ҟ', '൷', 'ᆁ', '\u0cfb', '࣯', 'Ů', 'ᅀ', '\u1a9b', 'ễ', 'Ҝ', 'ᚆ', 'ࣗ', 'ᗒ', 'Զ', '⊞', 'ᄶ', 'ᥘ', '̄', 'স', '\u0ad4', 'ᢻ', 'ᅹ', 'ᵸ', 'ৼ', 'ᗇ', '\u0e7f', '⊶', 'ᅒ', 'ʚ', '\x15', 'G', 'ᑄ', '\u0cf6', 'ـ', 'ۼ', 'ዖ', 'ᯒ', '᯳', '\u0cf0', '⊊', 'Ჰ', '-', 'ྥ', 'ᖃ', '֡', 'Ջ', '≾', 'ጒ', 'ᅞ', 'ഝ', 'ࣘ', 'ᦼ', 'ᵗ', 'ҕ', 'ݚ', '\u089d', 'ᑫ', 'ں', 'ϫ', 'ᘞ', 'T', 'ቐ', '₹', '⅊', '᷽', 'Ұ', 'ሎ', '࣡', 'ગ', 'ᅜ', '\u139e', '؏', '\u08c4', 'ࣜ', 'ḭ', 'ࣨ', 'Ƅ', 'ḥ', '\x1c', 'ᎎ', 'ᮼ', 'ࢽ', '᧳', 'ฦ', '⇥', '\u1c3a', 'ᯝ', 'ᖻ', '⊒', 'భ', 'ྦ', '೪', 'ḗ', '᧘', 'ࡕ', '\u08cd', 'ᨖ', '⊖', 'ૻ', 'ပ', '\u0cf9', 'ќ', 'ᅑ', 'Ѡ', 'ୂ', '၆', 'Ϭ', 'ഺ', '#', '࣮', 'Ჩ', 'ࢪ', 'ჸ', '₌', 'ᖌ', 'ဒ', 'ᅰ', 'ᨬ', '༫', 'ᅅ', 'ᮏ', 'ᅻ', '∳', 'Գ', '೦', '⊁', '৷', 'ᚋ', 'ῦ', 'ᴵ', '\u1c39', 'ᇍ', 'D', 'Ỉ', 'ܩ', 'ᖵ', '\u13fe', 'ᄷ', 'ঁ', 'ᅂ', 'ᄽ', 'ᆈ', 'ọ', 'ᴕ', 'ᨐ', 'ё', 'ң', '\u05fd', 'ಷ', 'Ტ', 'Œ', '᪦', '\u2060', 'ྡ', 'Ⅰ', 'ᨎ', 'ᕥ', 'ᑱ', 'ݛ', 'ᘗ', 'ƾ', '৾', '⊨', '᧨', 'ሶ', 'Ṏ', 'ؐ', 'ᡌ', 'Ḱ', 'ค', 'ၿ', 'ѓ', 'Ԉ', 'Ɍ', '˳', 'ᚍ', 'ࣣ', 'ৰ', 'ั', '݊', 'ℴ', 'ᎉ', 'ၳ', 'ࠝ', 'ᖉ', '֯', '\u1cbb', 'ℝ', 'च', '\u0ebe', '⊝', 'ᰶ', 'u', 'Ͼ', 'ᢾ', 'ᏻ', '\u08d2', 'Ḫ', 'ᨒ', '\u1f47', '‣', '\x9b', 'ק', 'ᷬ', 'ٷ', '᎓', 'ṡ', '\u089e', 'ሤ', 'ᑧ', 'Ḭ', 'Ṍ', 'ྣ', 'ᄻ', 'ᚒ', '≴', '\u2008', 'Ḝ', 'ᇉ', 'ႉ', 'Ⅹ', 'ࣙ', 'ఽ', '\u0c53', 'ʼ', 'ʏ', 'ࣦ', 'ᾯ', 'ᆂ', '೧', 'ᗠ', 'ᑼ', '\u10cc', 'ხ', 'ځ', 'Ó', '\u0de2', '⊧', 'ࣚ', 'ᶁ', '\u0dcd', '5', 'ؕ', '±', 'ᑤ', 'ᇎ', 'ḡ', 'झ', 'Ϩ', '॔', 'ѯ', 'ႂ', 'S', 'ቜ', '̠', 'ᤫ', 'ᰉ', 'ͱ', 'ᧈ', 'ة', '᳜', 'ᰔ', 'ʔ', 'ᄼ', 'ᧉ', '\x01', '᷆', '೩', 'ᨋ', 'ᑐ', '\u0cf3', 'ํ', '࣭', 'ῼ', 'Д', 'ჰ', '੬', 'ᐹ', '≻', 'П', 'ᰵ', 'સ', 'Ẏ', '∝', '⊸', '᧱', 'വ', 'Ḯ', '₎', 'R', 'ᦘ', 'ܓ', 'ळ', '\u20fc', '⊆', 'ቧ', 'ួ', 'ᕀ', 'ሺ', 'ከ', '↘', '⊚', 'Ř', '൵', 'ḕ', '⊉', 'ࢸ', 'ᐮ', 'ᅪ', 'ᖔ', 'ࣕ', 'ᵭ', 'ᮄ', 'Ὀ', '៤', '\u177b', 'ঢ', '≉', 'ኧ', 'ᖹ', '\u0d04', 'ᨌ', 'C', '֨', '༄', 'మ', '܈', 'ᝳ', 'ෞ', 'ഗ', '֦', 'ѣ', 'ඬ', 'ؖ', 'Ҙ', 'ẃ', 'ຊ', '\u192e', 'ͷ', '\u0e3c', 'င', 'Ҏ', '≬', '\x14', '᪐', 'ᯨ', 'ᱭ', 'ኞ', '\u0bc3', 'd', '⃛', 'Ყ', 'ᶰ', '࣪', '\u0cf5', 'ᢜ', 'Ҕ', 'ࢧ', 'ᇊ', '\u208f', 'େ', 'ᨷ', '႟', 'M', 'ಜ', 'ଧ', 'ᡍ', 'ᙚ', 'ᔮ', 'ᠬ', '@', 'ݜ', 'Ṅ', 'ဖ', 'ݙ', 'ૃ', 'ಙ', 'ഖ', 'ڀ', 'ಋ', 'ಬ', 'ജ', 'ᡒ', 'ᓖ', 'ᵾ', 'ᎏ', '\x03', 'ᄙ', 'ᅆ', '\u1c4c', '᧙', 'ᖘ', 'Ḟ', '\u0ace', '⇛', 'ঈ', 'ࢱ', 'Ḵ', '⊏', 'ᅶ', '⊠', '\u1add', 'ᖡ', 'е', 'ä', '༚', 'ᢧ', '\u218c', 'ѝ', 'ᖊ', 'ల', 'ሃ', '\x0f', '᧺', 'ᦐ', '\u16fc', '᭹', '҉', 'ᇖ', '‟', '\x90', 'á', '↣', 'თ', 'ᱸ', 'ֺ', 'پ', '≷', '>', 'ॉ', 'ല', 'ञ', 'ຶ', 'р', '๑', '᧦', '\u0ef9', '\u19ca', '&', 'ᯊ', '\u17ea', 'Ȯ', 'ᘌ', '⊅', 'ѫ', 'ᏸ', 'њ', '\u1fc5', '̅', 'ǿ', '⊔', '੫', 'ᨊ', 'Ⅻ', 'ᶻ', 'ᙰ', 'Ӳ', 'ࢢ', '᧵', '?', '⊷', 'ᓓ', 'Ṩ', 'ᘝ', '⊭', 'ᅔ', 'ᖈ', '\u08d0', 'ᢺ', 'ᤨ', 'ᚐ', 'ਾ', 'ᦛ', 'ྨ', 'Ḉ', '\u20f9', 'ᛪ', 'ෂ', '᧮', 'ᖽ', '᨟', 'ҁ', '\u0c5e', '\u1311', 'ᅥ', 'ˇ', 'ᅉ', 'ᆃ', 'Ѻ', 'ຽ', 'ł', '⊍', 'ᖒ', 'ᕈ', 'ტ', 'ᚳ', 'ᖂ', 'ݕ', 'ᮥ', 'ᣓ', 'Ⅼ', 'X', 'ℿ', '᳑', 'ᓚ', '᧢', 'ᵿ', 'ڂ', 'ᚊ', 'ᶂ', 'ᆅ', '“', '᩷', 'ȶ', 'ಘ', 'ᅳ', 'Ṁ', 'ྠ', 'ം', 'ṥ', 'Ꮼ', '\x06', 'ᨙ', '\u1f46', 'ࢼ', 'ǝ', 'ྶ', '᚜', 'Ṃ', '\u0df9', 'Ɂ', '\u0de1', '៣', '൸', 'ؑ', '᪱', '੩', '≇', 'ᅤ', 'ὄ', 'ؒ', '\x1e', '̇', '֢', 'ᄱ', 'ṑ', 'Ժ', '\u20f1', 'ദ', '᧿', 'ࢻ', '๔', 'ᖍ', 'ӑ', 'ᖢ', '֧', 'ᨠ', '\u1fb5', '\u1778', '⊎', '១', '\u1ae5', 'Შ', '۱', 'Ý', 'ғ', 'ᶎ', '೬', 'ᄿ', 'ເ', 'ഛ', '༯', 'ᒿ', 'ᚾ', '⊗', '≢', 'ₘ', '\u196f', 'ᗅ', '؎', '\u20fd', 'ߗ', 'ࢹ', '⊃', 'ѱ', 'ࢺ', 'ᶙ', '̆', 'ʖ', '↮', '̶', 'Ō', 'ຫ', 'Ქ', 'ķ', '≠', '\u09cf', 'ŏ', 'ա', 'ᰴ', 'ഞ', 'ც', 'ӈ', 'ᕰ', ':', 'ᾱ', '؞', '≣', '\u08cb', '൞', '\r', 'é', 'ኦ', 'ຼ', 'ഴ', 'ጐ', 'ᖕ', 'ὂ', '෦', 'ṍ', 'Ꮥ', 'ࣖ', 'ና', '႔', '\u0899', 'ᛸ', '\u0a11', 'ೱ', 'ὃ', 'ã', '᭣', '͗', '⇚', 'ᅟ', '\u0bbd', 'ṋ', 'I', 'ᴟ', 'ᦅ', 'ᶆ', 'ᨘ', 'ᗫ', '᭙', 'ထ', 'Ŋ', 'ḿ', 'ᐘ', 'Է', '\u1942', '\u08ce', 'ഀ', 'ᖺ', '໌', 'Ί', '૰', 'ᨕ', 'Ṉ', '⇏', 'ۛ', '\u1ae0', '൳', 'ࡁ', '\u0e5d', '༥', 'ඕ', 'ڍ', '᧫', 'ắ', 'ᖧ', '⊣', 'ᅮ', 'ͭ', 'እ', 'ܞ', 'ዷ', 'ᤀ', 'і', 'ƛ', '≭', 'ጔ', '࠾', '\u0cd8', '\u0de5', 'ᜀ', 'ᏼ', 'ᨏ', 'ඊ', '௯', 'ࢥ', 'ؓ', 'ৄ', '\u0876', '੨', '\u197a', 'ᖖ', 'ᦚ', 'ۯ', 'A', 'ᅇ', 'J', '≰', '᧧', 'Բ', 'Ѷ', 'ᅴ', '੦', '֎', 'ᅋ', 'ᇀ', 'ች', 'ᅢ', 'ṓ', '᧲', 'ḹ', 'լ', '᧭', 'ᰫ', 'ଆ', 'ၑ', 'ᐍ', 'ᅏ', 'ᾶ', 'ᨁ', '\u187a', '\u08cc', 'Ѩ', '⊄', 'ሸ', 'ঌ', 'Ѵ', 'ị', 'ᗶ', 'Ȋ', 'ᰠ', 'ሷ', 'ᛔ', 'Ḩ', 'ࣟ', '⊴', '\x12', 'ᣀ', 'Ɛ', 'ಗ', 'Ҡ', '≱', 'ྫ', '᧠', 'ᅸ', '\u0de4', 'ᡑ', 'Ъ', 'ࣥ', '\u1317', 'ࢦ', 'Ḡ', '᧟', 'ᖯ', 'ᶅ', '᧡', '∇', '≄', 'ᖁ', '\x07', 'ࢨ', 'ೂ', 'ׅ', '\u0ad2', 'ᅎ', '\x02', 'ᗀ', 'Ḳ', 'Ҥ', '4', 'ᅘ', 's', 'ᇸ', '᥍', 'ϯ', 'ᖱ', 'ᖎ', 'ᨉ', '\x0c', '഼', '\u1ad2', '࠴', '\u098e', 'ᕾ', 'ଜ', '٬', 'ሴ', 'Ը', '\u16fe', 'ۅ', 'Ҍ', '˝', '⁕', 'ᴓ', 'ᵀ', 'ṁ', '᎐', '࿌', '೨', '᧸', 'Ϫ', '≫', 'ᵌ', 'ᣂ', 'ဎ', 'ᣁ', '\u192f', 'ҍ', 'ᘠ', 'P', 'Ṇ', 'Ĭ', '᯾', 'Ң', '\u0cfe', '\u0a80', 'ࢮ', 'Ӊ', '⊰', 'ᩴ', 'ŋ', 'Ḻ', 'N', '๐', 'ဏ', 'ї', 'ί', 'ᅲ', '‴', 'ᛟ', '≨', 'ʛ', 'ў', 'ி', 'ߓ', '҃', 'Қ', 'ₒ', '᱁', 'ᯇ', 'ȧ', '៦', '\x19', 'p', 'ṕ', 'ᅣ', '=', '\u19cc', 'ൈ', '⊌', 'ᅠ', '≶', '\u0eee', 'ࢬ', '+', 'ࢠ', '≼', '༰', '\u07fc', 'ᯆ', 'Ὃ', '.', '؈', 'ὖ', 'ጕ', 'ȕ', 'Ȧ', 'ᚌ', '᭜', 'ᡙ', 'ᗔ', '\u0e74', 'җ', 'Ფ', '\u08d1', '¼', 'ឧ', 'జ', '༏', 'È', 'ݠ', 'ᏺ', '․', '˨', 'ᨓ', 'ᖟ', 'ᑩ', '‡', 'Ṥ', '᧚']])

Submission status: Wrong Answer

Solution code:
x=input()
def goodorbad(n):
    for i in range (0,3):
        if n[i]==n[i+1]:
            return "Good\n"
    return "Bad\n"
goodorbad(x)

Submission status: Wrong Answer

Solution code:
x=input()
def goodorbad(n):
    for i in range (0,3):
        if n[i]==n[i+1]:
            return "Good"
    return "Bad"
goodorbad(x)

Submission status: Wrong Answer

Solution code:
x=input()
def goodorbad(n):
    for i in range (0,3):
        if n[i]==n[i+1]:
            return "Good"
    return "Bad"
goodorbad(x)

Submission status: Wrong Answer

Solution code:
S=input()
f=False
for i in range(3):
  f=f and S[i]==S[i+1]
if f:
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
if s[0] == s[1]:
	count = 1
if s[1] == s[2]:
	count = 1
if s[0] == s[3]:
	count = 1

if count == 0:
	print("Good")
else:
	print("Bad")

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
s = str(input())
flag = 0

for i in range(0,3,1):
  if int(s[i:i+2]) % 11 == 0:
    flag = 1

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

Submission status: Wrong Answer

Solution code:
s = str(input())
flag = 0

for i in range(0,2,1):
  if int(s[i:i+2]) % 11 == 0:
    flag = 1

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

Submission status: Wrong Answer

Solution code:
import re;print('GBoaodd'[re.search('r(.)\1',input())::2])

Submission status: Wrong Answer

Solution code:
def main():
    s = input()
    num = list(s)
    list_num = [int(s) for s in num]

    temp = 0
    flag = False

    for i in list_num:
        if i == temp:
            print('Bad')
            flag = True
            break
        temp = i

    if flag == False:
        print('Good')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
s = list(map(int, list(input())))
if len(s) == len((set(s))):
  print("good")
else:
  print("bad")

Submission status: Wrong Answer

Solution code:
s = input('Security Code: ')

flg = False
for i in range(3):
  flg = flg or (int(s[i:i+2]) % 11) == 0

if flg:
  print('Bad')
else:
  print('Good')

Submission status: Wrong Answer

Solution code:
s = list(map(int, str(input()).split()))

pre = None
check = False

for i in s:
  if pre != None:
    if pre == i:
      print("Bad")
      check = True
      break
  pre = i
  
if check:
  print("Good")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
ans = "Good" if sum([a == b for a, b in zip(s[:-1], s[1:])]) >=1 else "Bad"
print(ans)

Submission status: Wrong Answer

Solution code:
code = input()
previous = 'a'
for c in code:
    if previous == c:
        print('Bad')
        break
    previous = c
print('Good')

Submission status: Wrong Answer

Solution code:
code = input()
previous = 'a'
for c in code:
    if previous == c:
        print('bad')
        break
    previous = c

Submission status: Wrong Answer

Solution code:
def main():

    s=list(input())
    flag=True
    for i in range(len(s)-1):
      if s[i]==s[i+1]:
        flag=False

    if flag == True:
        print("good")
    else:
        print("bad")

if __name__=="__main__":
    main()

Submission status: Wrong Answer

Solution code:
S = list(input())
flag = False
for i in range(len(S)-1):
    if (S[i] == S[i+1]):
        flag = True
    if (flag == True):
        break

if (flag == True):
    print("bad")

else:
    print("good")

Submission status: Wrong Answer

Solution code:
S = list(map(int,input()))
flag = False
for i in range(len(S)-1):
    if (S[i] == S[i+1]):
        flag = True
if (flag == True):
    print("bad")

else:
    print("good")

Submission status: Wrong Answer

Solution code:
S = list(map(int,input()))
flag = False
for i in range(len(S)-1):
    if (S[i] == S[i+1]):
        flag = True
    if (flag == True):
        break
if (flag == True):
    print("bad")

else:
    print("good")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
S = input()

for i in range(1,4):
  if S[i-1] == S[i]:print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
num=str(input())
for i in range(1,len(num)):
  if num[i]==num[i-1]:
    print('bad')
    exit()
print('Good')

Submission status: Wrong Answer

Solution code:
s = input()
f = 0
for i in range(3):
  if s[i] == s[i+1]:
    print("bad")
    break
  else:
    f += 1
  
if f == 3:
  print("good")

Submission status: Wrong Answer

Solution code:
s = input()
p = ""
cnt = 0
for c in s:
  if c == p:
    print("bad")
    break
  p = c
  cnt += 1
  
if cnt == 4:
  print("good")

Submission status: Wrong Answer

Solution code:
y = input()
a =  [int(a) for a in list(str(y))]
if a[0] == a[1] or a[1] == a[2] or a[2] == a[3]:
    print ('bad')
else:
    print('good')

Submission status: Wrong Answer

Solution code:
S=list(map(int,input()))
for i in (0,2):
  if S[i] == S[i+1] :
    print('Bad')
    break
else:
  print('Good')

Submission status: Wrong Answer

Solution code:
S=list(map(int,input()))
for i in (0,len(S)-2):
  if S[i] == S[i+1] :
    print('Bad')
    break
else:
  print('Good')

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:
  print("bad")

else:
  print("good")

Submission status: Wrong Answer

Solution code:
str = input()

lst = []
for s in str:
    lst.append(s)

if len(set(lst)) == 4:
    print("Good")
else:
    print("Bad")

Submission status: Wrong Answer

Solution code:
str = input()

if len(set(str)) < 4:
    print("Bad")
else:
    print("Good")

Submission status: Wrong Answer

Solution code:
from collections import Counter
code = input()
max_c = Counter(list(code)).most_common()[0][1]
if max_c > 1:
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
s = [i for i in input()]
if len(s) == len(set(s)):
    print('Good')
else:
    print('Bad')

Submission status: Wrong Answer

Solution code:
s = input()
if len(s) == len(set(s)):
    print('Good')
else:
    print('Bad')

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    flag = 0
    s_input = input()
    assert len(s_input) == 4

    if s_input[0] != s_input[2]:
        flag = 1
    elif s_input[1] != s_input[3]:
        flag = 1

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

Submission status: Wrong Answer

Solution code:
S = list(input())
ans = 'Good'
for i in range(2):
    if S[i] == S[i + 1]:
        ans = 'Bad'
        break
print(ans)

Submission status: Wrong Answer

Solution code:
S = input()
if len(S) != len(set(S)):
    print('Bad')
else:
    print('Good')

Submission status: Wrong Answer

Solution code:
s = list(str(input()))
it = iter(s)
for i in it:
  if i == next(it):
    print('Bad')
    exit
print("Good")

Submission status: Wrong Answer

Solution code:
S = input()

for i in range(3):
    if S[i] == S[i + 1]:
        print('Bad')
    else:
        print('Good')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if '入力しづらい' == input():
  print('Bad')
else:
  print('Good')

Submission status: Wrong Answer

Solution code:
s = input()
print("Good")

Submission status: Wrong Answer

Solution code:
s=int(input())

b=int(s%1000)
a=int((s-b)/1000)
d=int(b%100)
c=int((b-d)/100)
f=int(d%10)
e=int((d-f)/10)

if a==d or d==e or e==f :
    print("Bad")
else:
    print("Good")

Submission status: Wrong Answer

Solution code:
password = input()
password_list = list(password)
ans = "Good"

for i in range(len(password_list)):
    if password_list[i-1] == password_list[i]:
        ans = "Bad"

print(ans)

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
for i in range(len(a) - 1):
    if a[i] == a[i + 1]:
        print("Bad")
        break
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
n = input()
for i in range(0,len(n)-1,1):
  if (n[i] == n[i+1]):
      print("Bad")
  else:
      print("Good")

Submission status: Wrong Answer

Solution code:
S=str(input())
i1=''
for i in S:
    if i==i1:
        print('Bad')
        break
    i1=i
    if i==S[3]:
        print('Good')

Submission status: Wrong Answer

Solution code:
import sys

def def1(s):
    
    if s[0] == s[1]:
        return True
    
    if len(s) == 2:
        return False
    
    return def1(s[1:])

def main():
    input = sys.stdin.readline
    S = input()
    
    print('bad' if def1(S) else 'good')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
S=input()
for i in range(len(S)-2):
    if S[i]==S[i+1]:
        print("Bad")
        break
else:
    print("Good")

Submission status: Wrong Answer

Solution code:
S=input()
for i in range(len(S)-2):
  if S[i]==S[i+1]:
    print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
S = input()
bad = 0
for num in range(2):
  if int(S[num]) == int(S[num + 1]):
    bad = 1
    break
if bad == 0:
  print("Good")
else:
  print("Bad")

Submission status: Wrong Answer

Solution code:
S = input()
bad = 0
for num in range(2):
  if int(S[num]) == int(S[num + 1]):
    print("Bad")
    break
    bad = 1
if bad == 0:
  print("Good")

Submission status: Wrong Answer

Solution code:
S = input()
bad = 0
for num in range(2):
  if S[num] == S[num + 1]:
    print("Bad")
    break
    bad = 1
if bad == 0:
  print("Good")

Submission status: Wrong Answer

Solution code:
S = input()
cnt = 1

for i in range(len(S)-1):
    if S[i] == S[i+1]:
        cnt = 0
        exit()

if int(cnt):
    print("Good")
else:
    print("Bad")

Submission status: Wrong Answer

Solution code:
S = input()
cnt = 1

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

Submission status: Wrong Answer

Solution code:
S = input()
cnt = 1

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

Submission status: Wrong Answer

Solution code:
S = input()
cnt = 1

for i in range(len(S)-1):
    if S[i] == S[i+1]:
        cnt = 0
        exit()
        
if cnt:
    print("good")
else:
    print("Bad")

Submission status: Wrong Answer

Solution code:
num=int(input())

lst=[]

while num>0:
    lst.append(num%10)
    num//=10
lst.reverse()

l=0
flag=True
for index,i_num in enumerate(lst):
    if flag:
        if index==0:
            l=i_num
        else:
            if i_num==l:
                print("Bad")
                flag=False
                break
            l=i_num

if flag:
    print("Good")

Submission status: Wrong Answer

Solution code:
s = input()
i = str(s)
for i in range(3):
  if s[i] == s[i+1]:
    print('Bad')
    break
  else:
    print('Good')

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))

is_good = True
for i in range(len(s)-1):
    if s[i] == s[i+1]:
        #print('Bad')
        is_good = False
        break

print('Good' if is_good else 'Bad')

Submission status: Wrong Answer

Solution code:
s = str(input())
if s[-1] ==s[-2] or s[-2] == s[-3] or s[-3] == s [-4]:
    print("Bad")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
w1,w2,w3,w4 = list(input())
result = "good"
if str(w1)==str(w2) or str(w2)==str(w3) or str(w3)==str(w4):
	result = "Bad"

print(result)

Submission status: Wrong Answer

Solution code:
list = input()
chk = 10
for code in list :
    if chk == code :
        print("bad")
        break
    chk = code
else :
    print("good")

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:
in_ = input()
for i in range(0,len(in_)-1):
  if in_[i] == in_[i+1]:
    print('Bad')
  else:
    print('Good')

Submission status: Wrong Answer

Solution code:
print(['Bad', 'Good'][len(set(input()))==4])

Submission status: Wrong Answer

Solution code:
print(['Good', 'Bad'][len(set(input()))==4])

Submission status: Wrong Answer

Solution code:
print(['Good', 'Bad'][len(set(input()))!=4])

Submission status: Wrong Answer

Solution code:
S = input()

for i in range(len(S)-1):
    if S[i] == S[i+1]:
        print('Bad')
        exit()
print('Yes')

Submission status: Wrong Answer

Solution code:
N=list(input())
for i in range(2):
  if N[i]==N[i+1] :
    print("Bad")
    break
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
S = int(input())

tmp = ""
ans = "Good"
for x in str(S):
    if x == tmp:
        ans = "Bad"
    else:
        tmp = x
print(ans)

Submission status: Wrong Answer

Solution code:
# _*_ coding: utf-8 _*_ 
S = input()
if S[0] == S[1] or S[1] == S[2] or S[2] == S[3] :
    print('Bat')

else:
    print('Good')

Submission status: Wrong Answer

Solution code:
number = list(input())

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

Submission status: Wrong Answer

Solution code:
S = int(input())

tmp = ""
for x in str(S):
    if x == tmp:
        print("Bad")
        break
    else:
        tmp = x
else:
    print("Good")

Submission status: Wrong Answer

Solution code:
s = list(input())
num = 1
result = "Good"
for num in range(3):
    if s[num] == s[num - 1]:
        result = "Bad"
print(result)

Submission status: Wrong Answer

Solution code:
import sys
from collections import deque
from collections import defaultdict
import math
import copy
#input = sys.stdin.readline
sys.setrecursionlimit(20000000)
s = input()
s = [i for i in s]
s2 = set(s)
if len(s) == len(s2):
        print("Good")
else:
        print("Bad")

Submission status: Wrong Answer

Solution code:
S= str(input())
cou = 0
for i in range(len(S)-1):
  if(S[i]==S[i+1]):
    cou += 1
  break
if(cou==1):
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
S= str(input())
cou = 0
for i in range(len(S)):
  if(S[i]==S[i+1]):
    cou += 1
  break
if(cou>0):
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
S= str(input())
cou = 0
for i in range(len(S)-1):
  if(S[i]==S[i+1]):
    cou += 1
  break
if(cou>0):
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
import sys

S = input()

S = list(S)
for i in range(len(S)-1):
    if S[i] == S[i+1]:
        result = "Bad"
        break
    else:
        result = "Good"

Submission status: Wrong Answer

Solution code:
def security(input):
    input = list(input)
    for i in range(len(input)-1):
        if input[i] == input[i+1]:
            result = "Bad"
            break
        else:
            result = "Good"
    return result

Submission status: Wrong Answer

Solution code:
i=input()
lst = []
lst = [int(c) for c in str(i)]
#print(len(lst))
flag = 0

for i in range(len(lst) -1):
   if lst[i] == lst[i+1]:
      print("Bad")
      flag = 1

if flag != 1:
  print("Good")

Submission status: Wrong Answer

Solution code:
S= str(input())
cou = 0
for i in range(len(S)-1):
  if(S[i]==S[i-1]):
    cou += 1
  break
if(cou>0):
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
input_line = input()
last_c = ''
bad = False
for i in range(len(input_line)):
  c = input_line[i]
  if last_c == c:
    print('Bad')
    bad = true
    break
if not bad:
  print('Good')

Submission status: Wrong Answer

Solution code:
number = input()
s = number[0]

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

Submission status: Wrong Answer

Solution code:
number = input()
list = []

for i in range(10):
  j = str(i) 
  if j * 2 in number:
    list.append(i)

if list == []:
  print("Good")

else:
  print("Bad.")

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

Solution code:
S=input()
R=str(S)
L=list(map(int,R))
a=L[0]
b=L[1]
c=L[2]
d=L[3]
if a==b or a==c or a==d or b==c or b==d or c==d :
  print("Bad")
else:
  print("Good")

Submission status: Wrong Answer

Solution code:
N=input()
if N[0]==N[1] or N[1]==N[2] or N[2]==N[3] :
    print("Good")
else:
    print("Bad")

Submission status: Wrong Answer

Solution code:
S = int(input())

S = str(S)
list_S = list(S)
list_S = [int(s) for s in list_S]

a = list_S[0]
hantei = 1
for i in list_S[1:]:
    if a == i:
        hantei = 0
    a = i
if hantei==0:
    print("Bad")
else:
    print("Good")

Submission status: Wrong Answer

Solution code:
a= input()

counter = 0
ans = ""

for i in a:
    if counter == 0:
        ans = i
    else:
        if ans == i:
            print("Bad")
            exit(0)
    ans = i

print("Good")

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
a= input()

counter = 0
ans = ""

for i in a:
    if counter == 0:
        ans = i
    
    if ans == i:
        print("Bad")
        exit(0)
    ans = i

print("Good")

Submission status: Wrong Answer

Solution code:
a= input()

ans = ""

for i in a:
    if i == "a" or i == "i" or i == "u" or i == "e" or i == "o":
        continue
    ans += i

print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
num = 0
for i in range(len(s)):
        if s[i] == s[i-1]:
                num = 1
print("Good") if num == 0 else print("Bad")

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
s = input()
l = []
for i in range(4):
  l.append(s[i])
if len(set(l)) == 4:
  print("Good")
else:
  print("Bad")

Submission status: Wrong Answer

Solution code:
a,b,c,d = input()
if a == b:
    print('Bad')
if b == c:
    print('Bad')
if c == d:
    print('Bad')
else:
    print('Good')

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:
s = input()
if s[0] == s[1] or s[0] == s[1] or s[0] == s[1]:
	print("Bad")
else:
	print("Good")

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

Solution code:
S = input()

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