You task is to implement an simple interpreter for the notorious esoteric language [HQ9+](https://esolangs.org/wiki/HQ9+) that will work for a single character input:

- If the input is `'H'`, return `'Hello World!'`
- If the input is `'Q'`, return the input
- If the input is `'9'`, return the full lyrics of [99 Bottles of Beer](http://www.99-bottles-of-beer.net/lyrics.html). It should be formatted like this:

```if:rust
__Note__: In Rust, return `Some` containing the appropriate value.
```

```
99 bottles of beer on the wall, 99 bottles of beer.
Take one down and pass it around, 98 bottles of beer on the wall.
98 bottles of beer on the wall, 98 bottles of beer.
Take one down and pass it around, 97 bottles of beer on the wall.
97 bottles of beer on the wall, 97 bottles of beer.
Take one down and pass it around, 96 bottles of beer on the wall.
...
...
...
2 bottles of beer on the wall, 2 bottles of beer.
Take one down and pass it around, 1 bottle of beer on the wall.
1 bottle of beer on the wall, 1 bottle of beer.
Take one down and pass it around, no more bottles of beer on the wall.
No more bottles of beer on the wall, no more bottles of beer.
Go to the store and buy some more, 99 bottles of beer on the wall.
```

- For everything else, don't return anything (return `null` in C#, `None` in Rust).

(`+` has no visible effects so we can safely ignore it.)

Difficulty: introductory

Starter code:

def HQ9(code):
	

Solutions:
["LINES = \"{0} of beer on the wall, {0} of beer.\\nTake one down and pass it around, {1} of beer on the wall.\"\nSONG = '\\n'.join( LINES.format(\"{} bottles\".format(n), \"{} bottle\".format(n-1)+\"s\"*(n!=2)) for n in range(99,1,-1) )\nSONG += \"\"\"\n1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\"\"\n\ndef HQ9(code):\n    return {'H': 'Hello World!', 'Q': 'Q', '9': SONG}.get(code, None)", "def HQ9(c):\n    return 'Hello World!' if c == 'H' else c if c == 'Q' else song() if c == '9' else None\n\n\ndef song():\n    return '''99 bottles of beer on the wall, 99 bottles of beer.\nTake one down and pass it around, 98 bottles of beer on the wall.\n98 bottles of beer on the wall, 98 bottles of beer.\nTake one down and pass it around, 97 bottles of beer on the wall.\n97 bottles of beer on the wall, 97 bottles of beer.\nTake one down and pass it around, 96 bottles of beer on the wall.\n96 bottles of beer on the wall, 96 bottles of beer.\nTake one down and pass it around, 95 bottles of beer on the wall.\n95 bottles of beer on the wall, 95 bottles of beer.\nTake one down and pass it around, 94 bottles of beer on the wall.\n94 bottles of beer on the wall, 94 bottles of beer.\nTake one down and pass it around, 93 bottles of beer on the wall.\n93 bottles of beer on the wall, 93 bottles of beer.\nTake one down and pass it around, 92 bottles of beer on the wall.\n92 bottles of beer on the wall, 92 bottles of beer.\nTake one down and pass it around, 91 bottles of beer on the wall.\n91 bottles of beer on the wall, 91 bottles of beer.\nTake one down and pass it around, 90 bottles of beer on the wall.\n90 bottles of beer on the wall, 90 bottles of beer.\nTake one down and pass it around, 89 bottles of beer on the wall.\n89 bottles of beer on the wall, 89 bottles of beer.\nTake one down and pass it around, 88 bottles of beer on the wall.\n88 bottles of beer on the wall, 88 bottles of beer.\nTake one down and pass it around, 87 bottles of beer on the wall.\n87 bottles of beer on the wall, 87 bottles of beer.\nTake one down and pass it around, 86 bottles of beer on the wall.\n86 bottles of beer on the wall, 86 bottles of beer.\nTake one down and pass it around, 85 bottles of beer on the wall.\n85 bottles of beer on the wall, 85 bottles of beer.\nTake one down and pass it around, 84 bottles of beer on the wall.\n84 bottles of beer on the wall, 84 bottles of beer.\nTake one down and pass it around, 83 bottles of beer on the wall.\n83 bottles of beer on the wall, 83 bottles of beer.\nTake one down and pass it around, 82 bottles of beer on the wall.\n82 bottles of beer on the wall, 82 bottles of beer.\nTake one down and pass it around, 81 bottles of beer on the wall.\n81 bottles of beer on the wall, 81 bottles of beer.\nTake one down and pass it around, 80 bottles of beer on the wall.\n80 bottles of beer on the wall, 80 bottles of beer.\nTake one down and pass it around, 79 bottles of beer on the wall.\n79 bottles of beer on the wall, 79 bottles of beer.\nTake one down and pass it around, 78 bottles of beer on the wall.\n78 bottles of beer on the wall, 78 bottles of beer.\nTake one down and pass it around, 77 bottles of beer on the wall.\n77 bottles of beer on the wall, 77 bottles of beer.\nTake one down and pass it around, 76 bottles of beer on the wall.\n76 bottles of beer on the wall, 76 bottles of beer.\nTake one down and pass it around, 75 bottles of beer on the wall.\n75 bottles of beer on the wall, 75 bottles of beer.\nTake one down and pass it around, 74 bottles of beer on the wall.\n74 bottles of beer on the wall, 74 bottles of beer.\nTake one down and pass it around, 73 bottles of beer on the wall.\n73 bottles of beer on the wall, 73 bottles of beer.\nTake one down and pass it around, 72 bottles of beer on the wall.\n72 bottles of beer on the wall, 72 bottles of beer.\nTake one down and pass it around, 71 bottles of beer on the wall.\n71 bottles of beer on the wall, 71 bottles of beer.\nTake one down and pass it around, 70 bottles of beer on the wall.\n70 bottles of beer on the wall, 70 bottles of beer.\nTake one down and pass it around, 69 bottles of beer on the wall.\n69 bottles of beer on the wall, 69 bottles of beer.\nTake one down and pass it around, 68 bottles of beer on the wall.\n68 bottles of beer on the wall, 68 bottles of beer.\nTake one down and pass it around, 67 bottles of beer on the wall.\n67 bottles of beer on the wall, 67 bottles of beer.\nTake one down and pass it around, 66 bottles of beer on the wall.\n66 bottles of beer on the wall, 66 bottles of beer.\nTake one down and pass it around, 65 bottles of beer on the wall.\n65 bottles of beer on the wall, 65 bottles of beer.\nTake one down and pass it around, 64 bottles of beer on the wall.\n64 bottles of beer on the wall, 64 bottles of beer.\nTake one down and pass it around, 63 bottles of beer on the wall.\n63 bottles of beer on the wall, 63 bottles of beer.\nTake one down and pass it around, 62 bottles of beer on the wall.\n62 bottles of beer on the wall, 62 bottles of beer.\nTake one down and pass it around, 61 bottles of beer on the wall.\n61 bottles of beer on the wall, 61 bottles of beer.\nTake one down and pass it around, 60 bottles of beer on the wall.\n60 bottles of beer on the wall, 60 bottles of beer.\nTake one down and pass it around, 59 bottles of beer on the wall.\n59 bottles of beer on the wall, 59 bottles of beer.\nTake one down and pass it around, 58 bottles of beer on the wall.\n58 bottles of beer on the wall, 58 bottles of beer.\nTake one down and pass it around, 57 bottles of beer on the wall.\n57 bottles of beer on the wall, 57 bottles of beer.\nTake one down and pass it around, 56 bottles of beer on the wall.\n56 bottles of beer on the wall, 56 bottles of beer.\nTake one down and pass it around, 55 bottles of beer on the wall.\n55 bottles of beer on the wall, 55 bottles of beer.\nTake one down and pass it around, 54 bottles of beer on the wall.\n54 bottles of beer on the wall, 54 bottles of beer.\nTake one down and pass it around, 53 bottles of beer on the wall.\n53 bottles of beer on the wall, 53 bottles of beer.\nTake one down and pass it around, 52 bottles of beer on the wall.\n52 bottles of beer on the wall, 52 bottles of beer.\nTake one down and pass it around, 51 bottles of beer on the wall.\n51 bottles of beer on the wall, 51 bottles of beer.\nTake one down and pass it around, 50 bottles of beer on the wall.\n50 bottles of beer on the wall, 50 bottles of beer.\nTake one down and pass it around, 49 bottles of beer on the wall.\n49 bottles of beer on the wall, 49 bottles of beer.\nTake one down and pass it around, 48 bottles of beer on the wall.\n48 bottles of beer on the wall, 48 bottles of beer.\nTake one down and pass it around, 47 bottles of beer on the wall.\n47 bottles of beer on the wall, 47 bottles of beer.\nTake one down and pass it around, 46 bottles of beer on the wall.\n46 bottles of beer on the wall, 46 bottles of beer.\nTake one down and pass it around, 45 bottles of beer on the wall.\n45 bottles of beer on the wall, 45 bottles of beer.\nTake one down and pass it around, 44 bottles of beer on the wall.\n44 bottles of beer on the wall, 44 bottles of beer.\nTake one down and pass it around, 43 bottles of beer on the wall.\n43 bottles of beer on the wall, 43 bottles of beer.\nTake one down and pass it around, 42 bottles of beer on the wall.\n42 bottles of beer on the wall, 42 bottles of beer.\nTake one down and pass it around, 41 bottles of beer on the wall.\n41 bottles of beer on the wall, 41 bottles of beer.\nTake one down and pass it around, 40 bottles of beer on the wall.\n40 bottles of beer on the wall, 40 bottles of beer.\nTake one down and pass it around, 39 bottles of beer on the wall.\n39 bottles of beer on the wall, 39 bottles of beer.\nTake one down and pass it around, 38 bottles of beer on the wall.\n38 bottles of beer on the wall, 38 bottles of beer.\nTake one down and pass it around, 37 bottles of beer on the wall.\n37 bottles of beer on the wall, 37 bottles of beer.\nTake one down and pass it around, 36 bottles of beer on the wall.\n36 bottles of beer on the wall, 36 bottles of beer.\nTake one down and pass it around, 35 bottles of beer on the wall.\n35 bottles of beer on the wall, 35 bottles of beer.\nTake one down and pass it around, 34 bottles of beer on the wall.\n34 bottles of beer on the wall, 34 bottles of beer.\nTake one down and pass it around, 33 bottles of beer on the wall.\n33 bottles of beer on the wall, 33 bottles of beer.\nTake one down and pass it around, 32 bottles of beer on the wall.\n32 bottles of beer on the wall, 32 bottles of beer.\nTake one down and pass it around, 31 bottles of beer on the wall.\n31 bottles of beer on the wall, 31 bottles of beer.\nTake one down and pass it around, 30 bottles of beer on the wall.\n30 bottles of beer on the wall, 30 bottles of beer.\nTake one down and pass it around, 29 bottles of beer on the wall.\n29 bottles of beer on the wall, 29 bottles of beer.\nTake one down and pass it around, 28 bottles of beer on the wall.\n28 bottles of beer on the wall, 28 bottles of beer.\nTake one down and pass it around, 27 bottles of beer on the wall.\n27 bottles of beer on the wall, 27 bottles of beer.\nTake one down and pass it around, 26 bottles of beer on the wall.\n26 bottles of beer on the wall, 26 bottles of beer.\nTake one down and pass it around, 25 bottles of beer on the wall.\n25 bottles of beer on the wall, 25 bottles of beer.\nTake one down and pass it around, 24 bottles of beer on the wall.\n24 bottles of beer on the wall, 24 bottles of beer.\nTake one down and pass it around, 23 bottles of beer on the wall.\n23 bottles of beer on the wall, 23 bottles of beer.\nTake one down and pass it around, 22 bottles of beer on the wall.\n22 bottles of beer on the wall, 22 bottles of beer.\nTake one down and pass it around, 21 bottles of beer on the wall.\n21 bottles of beer on the wall, 21 bottles of beer.\nTake one down and pass it around, 20 bottles of beer on the wall.\n20 bottles of beer on the wall, 20 bottles of beer.\nTake one down and pass it around, 19 bottles of beer on the wall.\n19 bottles of beer on the wall, 19 bottles of beer.\nTake one down and pass it around, 18 bottles of beer on the wall.\n18 bottles of beer on the wall, 18 bottles of beer.\nTake one down and pass it around, 17 bottles of beer on the wall.\n17 bottles of beer on the wall, 17 bottles of beer.\nTake one down and pass it around, 16 bottles of beer on the wall.\n16 bottles of beer on the wall, 16 bottles of beer.\nTake one down and pass it around, 15 bottles of beer on the wall.\n15 bottles of beer on the wall, 15 bottles of beer.\nTake one down and pass it around, 14 bottles of beer on the wall.\n14 bottles of beer on the wall, 14 bottles of beer.\nTake one down and pass it around, 13 bottles of beer on the wall.\n13 bottles of beer on the wall, 13 bottles of beer.\nTake one down and pass it around, 12 bottles of beer on the wall.\n12 bottles of beer on the wall, 12 bottles of beer.\nTake one down and pass it around, 11 bottles of beer on the wall.\n11 bottles of beer on the wall, 11 bottles of beer.\nTake one down and pass it around, 10 bottles of beer on the wall.\n10 bottles of beer on the wall, 10 bottles of beer.\nTake one down and pass it around, 9 bottles of beer on the wall.\n9 bottles of beer on the wall, 9 bottles of beer.\nTake one down and pass it around, 8 bottles of beer on the wall.\n8 bottles of beer on the wall, 8 bottles of beer.\nTake one down and pass it around, 7 bottles of beer on the wall.\n7 bottles of beer on the wall, 7 bottles of beer.\nTake one down and pass it around, 6 bottles of beer on the wall.\n6 bottles of beer on the wall, 6 bottles of beer.\nTake one down and pass it around, 5 bottles of beer on the wall.\n5 bottles of beer on the wall, 5 bottles of beer.\nTake one down and pass it around, 4 bottles of beer on the wall.\n4 bottles of beer on the wall, 4 bottles of beer.\nTake one down and pass it around, 3 bottles of beer on the wall.\n3 bottles of beer on the wall, 3 bottles of beer.\nTake one down and pass it around, 2 bottles of beer on the wall.\n2 bottles of beer on the wall, 2 bottles of beer.\nTake one down and pass it around, 1 bottle of beer on the wall.\n1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.'''\n", "# It is possible in one short line without hard coding! Have a nice day ;)\nHQ9 = lambda c, b=(lambda x: \"{} bottle{} of beer\".format(x if x > 0 else \"no more\", \"s\" if x!=1 else \"\")): {'H':'Hello World!', 'Q':'Q', '9':\"\".join(\"{0}{2}, {1} on the wall.\\n\".format(\"{0} on the wall, {0}.\\n\".format(b(i)).capitalize(), b(i-1) if i else b(99), \"Take one down and pass it around\" if i else \"Go to the store and buy some more\") for i in range(99, -1, -1))[:-1]}.get(c, None)", "def HQ9(code):\n    return 'Hello World!' if code == 'H' else code if code == 'Q' else '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.' if code == '9' else None", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    if code == \"Q\":\n        return \"Q\"\n    if code == \"9\":\n        result = \"\"\n        for n in range(99,2,-1):\n            result += f\"{n} bottles of beer on the wall, {n} bottles of beer.\\nTake one down and pass it around, {n-1} bottles of beer on the wall.\\n\"\n        result += \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return result\n    return None", "def HQ9(code):\n    lyrics = '99 bottles of beer on the wall, 99 bottles of beer.\\n'\n    for i in range(98, 1, -1):\n        lyrics += 'Take one down and pass it around, {} bottles of beer on the wall.\\n'.format(i)\n        lyrics += '{} bottles of beer on the wall, {} bottles of beer.\\n'.format(i, i)\n    lyrics += 'Take one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\n    mapper = {'H': 'Hello World!', 'Q': code, '9': lyrics}\n    \n    return mapper.get(code, None)", "def HQ9(s):\n    d={\"H\": \"Hello World!\",\"Q\":\"Q\",\n\"9\":\"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\",\n\"X\":None}\n    return d.get(s,None)\n", "def HQ9(code):\n    if code == 'H': return 'Hello World!'\n    elif code == 'Q': return 'Q'\n    elif code == '9': return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n", "def HQ9(code: str) -> str:\n    \"\"\" Implement an simple interpreter for HQ9+. \"\"\"\n    inputs = {\n        \"H\": \"Hello World!\",\n        \"Q\": code,\n        \"9\": \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n    }\n    return inputs.get(code)", "def HQ9(letter):\n    if letter == \"H\":\n        return \"Hello World!\"\n    elif letter == \"Q\":\n        return letter\n    elif letter == \"9\":\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else:\n        pass\n", "def HQ9(code):\n    if code=='H':\n        return 'Hello World!'\n    elif code =='Q':\n        return 'Q'\n    \n    elif code=='9':\n        text=''\n        for x in range(99,1,-1):\n            text +='{} bottles of beer on the wall, {} bottles of beer.\\n'.format(x,x)\n            if (x-1>1):\n               text +='Take one down and pass it around, {} bottles of beer on the wall.\\n'.format(x-1)\n            else:\n              text +='Take one down and pass it around, {} bottle of beer on the wall.\\n'.format(x-1)\n        text+='1 bottle of beer on the wall, 1 bottle of beer.\\n'\n        text+='Take one down and pass it around, no more bottles of beer on the wall.\\n'\n        \n        text+='No more bottles of beer on the wall, no more bottles of beer.\\n'\n        text+='Go to the store and buy some more, 99 bottles of beer on the wall.'\n        return  text\n    else:\n        return None\n", "def HQ9(code):\n    nums = list(map(str, range(99, 0, -1))) + ['no more', '99']\n    bofb = lambda x, w=True: f\"{x} bottle{'s' * (x != '1')} of beer{' on the wall' * w}\"\n    take, store = 'Take one down and pass it around', 'Go to the store and buy some more'\n    phrases = [(f\"{take if x != '99' else store}, {bofb(x)}.\", f\"{bofb(x).capitalize()}, {bofb(x, 0)}.\") for x in nums]\n    lyrics = '\\n'.join(f\"{x[1]}\\n{y[0]}\" for x, y in zip(phrases, phrases[1:]))\n    return {'H': 'Hello World!', 'Q': 'Q', '9': lyrics}.get(code, None)", "def HQ9(code):\n    nums = list(map(str, range(99, 0, -1))) + ['no more', '99']\n    bofb = lambda x, w=True: f\"{x} bottle{'s' * (x != '1')} of beer{' on the wall' * w}\"\n    take, store = 'Take one down and pass it around', 'Go to the store and buy some more'\n    poem = '\\n'.join(f\"{take if x != '99' else store}, {bofb(x)}.\\n{bofb(x).capitalize()}, {bofb(x, 0)}.\" for x in nums)\n    poem = '\\n'.join(poem.split('\\n')[1:-1])\n    return {'H': 'Hello World!',\n            'Q': 'Q',\n            '9': poem}.get(code, None)", "def HQ9(code):\n    if code == \"H\":\n        return 'Hello World!'\n    elif code == \"Q\":\n        return code\n    elif code == \"9\":\n        lyrics = \"\"\n        for index in range(99, 0, -1):\n            first = \"%d %s\" % (index, \"bottles\" if index >1 else \"bottle\")\n            next = \"%s\" % (str(index-1)+\" bottles\" if index >2 else str(index-1) +\" bottle\" if index == 2 else \"no more bottles\")\n            lyrics += \"%s of beer on the wall, %s of beer.\\nTake one down and pass it around, %s of beer on the wall.\\n\" % (first, first, next)\n        lyrics += \"No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return lyrics\n    else:\n        return None\n", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return code\n    elif code == \"9\":\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else:\n        return\n    pass", "def HQ9(code):\n    string=\"\"\n    if code==\"H\": return \"Hello World!\"\n    elif code==\"Q\": return code\n    elif code==\"9\":\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else: return None", "def HQ9(code):\n    if code in \"H\":\n        return \"Hello World!\"\n    elif code in \"Q\":\n        return code\n    elif code in \"9\":\n        song = \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return song\n    else:\n        pass", "def HQ9(code):\n    if code==\"H\":\n        return \"Hello World!\"\n    elif code==\"Q\":\n        return code\n    elif code==\"9\":\n        output=\"\"\n        for i in range(99,2,-1):\n            output=output+str(i)+\" bottles of beer on the wall, \"+str(i)+\" bottles of beer.\\nTake one down and pass it around, \"+str(i-1)+\" bottles of beer on the wall.\\n\"              \n        output=output+\"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"\n        output=output+\"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        print(output)\n        return output    \n    return None", "def HQ9(code):\n    text = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        return text\n    else:\n        return None", "def HQ9(code):\n    pika={\n    'H': 'Hello World!',\n    'Q': 'Q',\n    '9': '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    }\n    return None if code not in pika else (pika[code])", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return code\n    if code == '9':\n        line = ''\n        for i in range(99, -1, -1):\n            if i == 0:\n                line += 'No more bottles of beer on the wall, no more bottles of beer.\\n'\n                line += 'Go to the store and buy some more, 99 bottles of beer on the wall.'\n            elif i == 1:\n                line += str(i) + ' bottle of beer on the wall, ' + str(i) + ' bottle of beer.\\n'\n                line += 'Take one down and pass it around, no more bottles of beer on the wall.\\n'\n            elif i == 2:\n                line += str(i) + ' bottles of beer on the wall, ' + str(i) + ' bottles of beer.\\n'\n                line += 'Take one down and pass it around, ' + str(i - 1) + ' bottle of beer on the wall.\\n'\n            else:\n                line += str(i) + ' bottles of beer on the wall, ' + str(i) + ' bottles of beer.\\n'\n                line += 'Take one down and pass it around, ' + str(i - 1) + ' bottles of beer on the wall.\\n'     \n        return line\n    else:\n        pass", "def HQ9(code):\n    bottle = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    if code not in ['H', 'Q', '9']:\n        return\n    return bottle if code == '9' else 'Hello World!' if code == 'H' else code", "lyrics = '''\\\n99 bottles of beer on the wall, 99 bottles of beer.\nTake one down and pass it around, 98 bottles of beer on the wall.\n98 bottles of beer on the wall, 98 bottles of beer.\nTake one down and pass it around, 97 bottles of beer on the wall.\n97 bottles of beer on the wall, 97 bottles of beer.\nTake one down and pass it around, 96 bottles of beer on the wall.\n96 bottles of beer on the wall, 96 bottles of beer.\nTake one down and pass it around, 95 bottles of beer on the wall.\n95 bottles of beer on the wall, 95 bottles of beer.\nTake one down and pass it around, 94 bottles of beer on the wall.\n94 bottles of beer on the wall, 94 bottles of beer.\nTake one down and pass it around, 93 bottles of beer on the wall.\n93 bottles of beer on the wall, 93 bottles of beer.\nTake one down and pass it around, 92 bottles of beer on the wall.\n92 bottles of beer on the wall, 92 bottles of beer.\nTake one down and pass it around, 91 bottles of beer on the wall.\n91 bottles of beer on the wall, 91 bottles of beer.\nTake one down and pass it around, 90 bottles of beer on the wall.\n90 bottles of beer on the wall, 90 bottles of beer.\nTake one down and pass it around, 89 bottles of beer on the wall.\n89 bottles of beer on the wall, 89 bottles of beer.\nTake one down and pass it around, 88 bottles of beer on the wall.\n88 bottles of beer on the wall, 88 bottles of beer.\nTake one down and pass it around, 87 bottles of beer on the wall.\n87 bottles of beer on the wall, 87 bottles of beer.\nTake one down and pass it around, 86 bottles of beer on the wall.\n86 bottles of beer on the wall, 86 bottles of beer.\nTake one down and pass it around, 85 bottles of beer on the wall.\n85 bottles of beer on the wall, 85 bottles of beer.\nTake one down and pass it around, 84 bottles of beer on the wall.\n84 bottles of beer on the wall, 84 bottles of beer.\nTake one down and pass it around, 83 bottles of beer on the wall.\n83 bottles of beer on the wall, 83 bottles of beer.\nTake one down and pass it around, 82 bottles of beer on the wall.\n82 bottles of beer on the wall, 82 bottles of beer.\nTake one down and pass it around, 81 bottles of beer on the wall.\n81 bottles of beer on the wall, 81 bottles of beer.\nTake one down and pass it around, 80 bottles of beer on the wall.\n80 bottles of beer on the wall, 80 bottles of beer.\nTake one down and pass it around, 79 bottles of beer on the wall.\n79 bottles of beer on the wall, 79 bottles of beer.\nTake one down and pass it around, 78 bottles of beer on the wall.\n78 bottles of beer on the wall, 78 bottles of beer.\nTake one down and pass it around, 77 bottles of beer on the wall.\n77 bottles of beer on the wall, 77 bottles of beer.\nTake one down and pass it around, 76 bottles of beer on the wall.\n76 bottles of beer on the wall, 76 bottles of beer.\nTake one down and pass it around, 75 bottles of beer on the wall.\n75 bottles of beer on the wall, 75 bottles of beer.\nTake one down and pass it around, 74 bottles of beer on the wall.\n74 bottles of beer on the wall, 74 bottles of beer.\nTake one down and pass it around, 73 bottles of beer on the wall.\n73 bottles of beer on the wall, 73 bottles of beer.\nTake one down and pass it around, 72 bottles of beer on the wall.\n72 bottles of beer on the wall, 72 bottles of beer.\nTake one down and pass it around, 71 bottles of beer on the wall.\n71 bottles of beer on the wall, 71 bottles of beer.\nTake one down and pass it around, 70 bottles of beer on the wall.\n70 bottles of beer on the wall, 70 bottles of beer.\nTake one down and pass it around, 69 bottles of beer on the wall.\n69 bottles of beer on the wall, 69 bottles of beer.\nTake one down and pass it around, 68 bottles of beer on the wall.\n68 bottles of beer on the wall, 68 bottles of beer.\nTake one down and pass it around, 67 bottles of beer on the wall.\n67 bottles of beer on the wall, 67 bottles of beer.\nTake one down and pass it around, 66 bottles of beer on the wall.\n66 bottles of beer on the wall, 66 bottles of beer.\nTake one down and pass it around, 65 bottles of beer on the wall.\n65 bottles of beer on the wall, 65 bottles of beer.\nTake one down and pass it around, 64 bottles of beer on the wall.\n64 bottles of beer on the wall, 64 bottles of beer.\nTake one down and pass it around, 63 bottles of beer on the wall.\n63 bottles of beer on the wall, 63 bottles of beer.\nTake one down and pass it around, 62 bottles of beer on the wall.\n62 bottles of beer on the wall, 62 bottles of beer.\nTake one down and pass it around, 61 bottles of beer on the wall.\n61 bottles of beer on the wall, 61 bottles of beer.\nTake one down and pass it around, 60 bottles of beer on the wall.\n60 bottles of beer on the wall, 60 bottles of beer.\nTake one down and pass it around, 59 bottles of beer on the wall.\n59 bottles of beer on the wall, 59 bottles of beer.\nTake one down and pass it around, 58 bottles of beer on the wall.\n58 bottles of beer on the wall, 58 bottles of beer.\nTake one down and pass it around, 57 bottles of beer on the wall.\n57 bottles of beer on the wall, 57 bottles of beer.\nTake one down and pass it around, 56 bottles of beer on the wall.\n56 bottles of beer on the wall, 56 bottles of beer.\nTake one down and pass it around, 55 bottles of beer on the wall.\n55 bottles of beer on the wall, 55 bottles of beer.\nTake one down and pass it around, 54 bottles of beer on the wall.\n54 bottles of beer on the wall, 54 bottles of beer.\nTake one down and pass it around, 53 bottles of beer on the wall.\n53 bottles of beer on the wall, 53 bottles of beer.\nTake one down and pass it around, 52 bottles of beer on the wall.\n52 bottles of beer on the wall, 52 bottles of beer.\nTake one down and pass it around, 51 bottles of beer on the wall.\n51 bottles of beer on the wall, 51 bottles of beer.\nTake one down and pass it around, 50 bottles of beer on the wall.\n50 bottles of beer on the wall, 50 bottles of beer.\nTake one down and pass it around, 49 bottles of beer on the wall.\n49 bottles of beer on the wall, 49 bottles of beer.\nTake one down and pass it around, 48 bottles of beer on the wall.\n48 bottles of beer on the wall, 48 bottles of beer.\nTake one down and pass it around, 47 bottles of beer on the wall.\n47 bottles of beer on the wall, 47 bottles of beer.\nTake one down and pass it around, 46 bottles of beer on the wall.\n46 bottles of beer on the wall, 46 bottles of beer.\nTake one down and pass it around, 45 bottles of beer on the wall.\n45 bottles of beer on the wall, 45 bottles of beer.\nTake one down and pass it around, 44 bottles of beer on the wall.\n44 bottles of beer on the wall, 44 bottles of beer.\nTake one down and pass it around, 43 bottles of beer on the wall.\n43 bottles of beer on the wall, 43 bottles of beer.\nTake one down and pass it around, 42 bottles of beer on the wall.\n42 bottles of beer on the wall, 42 bottles of beer.\nTake one down and pass it around, 41 bottles of beer on the wall.\n41 bottles of beer on the wall, 41 bottles of beer.\nTake one down and pass it around, 40 bottles of beer on the wall.\n40 bottles of beer on the wall, 40 bottles of beer.\nTake one down and pass it around, 39 bottles of beer on the wall.\n39 bottles of beer on the wall, 39 bottles of beer.\nTake one down and pass it around, 38 bottles of beer on the wall.\n38 bottles of beer on the wall, 38 bottles of beer.\nTake one down and pass it around, 37 bottles of beer on the wall.\n37 bottles of beer on the wall, 37 bottles of beer.\nTake one down and pass it around, 36 bottles of beer on the wall.\n36 bottles of beer on the wall, 36 bottles of beer.\nTake one down and pass it around, 35 bottles of beer on the wall.\n35 bottles of beer on the wall, 35 bottles of beer.\nTake one down and pass it around, 34 bottles of beer on the wall.\n34 bottles of beer on the wall, 34 bottles of beer.\nTake one down and pass it around, 33 bottles of beer on the wall.\n33 bottles of beer on the wall, 33 bottles of beer.\nTake one down and pass it around, 32 bottles of beer on the wall.\n32 bottles of beer on the wall, 32 bottles of beer.\nTake one down and pass it around, 31 bottles of beer on the wall.\n31 bottles of beer on the wall, 31 bottles of beer.\nTake one down and pass it around, 30 bottles of beer on the wall.\n30 bottles of beer on the wall, 30 bottles of beer.\nTake one down and pass it around, 29 bottles of beer on the wall.\n29 bottles of beer on the wall, 29 bottles of beer.\nTake one down and pass it around, 28 bottles of beer on the wall.\n28 bottles of beer on the wall, 28 bottles of beer.\nTake one down and pass it around, 27 bottles of beer on the wall.\n27 bottles of beer on the wall, 27 bottles of beer.\nTake one down and pass it around, 26 bottles of beer on the wall.\n26 bottles of beer on the wall, 26 bottles of beer.\nTake one down and pass it around, 25 bottles of beer on the wall.\n25 bottles of beer on the wall, 25 bottles of beer.\nTake one down and pass it around, 24 bottles of beer on the wall.\n24 bottles of beer on the wall, 24 bottles of beer.\nTake one down and pass it around, 23 bottles of beer on the wall.\n23 bottles of beer on the wall, 23 bottles of beer.\nTake one down and pass it around, 22 bottles of beer on the wall.\n22 bottles of beer on the wall, 22 bottles of beer.\nTake one down and pass it around, 21 bottles of beer on the wall.\n21 bottles of beer on the wall, 21 bottles of beer.\nTake one down and pass it around, 20 bottles of beer on the wall.\n20 bottles of beer on the wall, 20 bottles of beer.\nTake one down and pass it around, 19 bottles of beer on the wall.\n19 bottles of beer on the wall, 19 bottles of beer.\nTake one down and pass it around, 18 bottles of beer on the wall.\n18 bottles of beer on the wall, 18 bottles of beer.\nTake one down and pass it around, 17 bottles of beer on the wall.\n17 bottles of beer on the wall, 17 bottles of beer.\nTake one down and pass it around, 16 bottles of beer on the wall.\n16 bottles of beer on the wall, 16 bottles of beer.\nTake one down and pass it around, 15 bottles of beer on the wall.\n15 bottles of beer on the wall, 15 bottles of beer.\nTake one down and pass it around, 14 bottles of beer on the wall.\n14 bottles of beer on the wall, 14 bottles of beer.\nTake one down and pass it around, 13 bottles of beer on the wall.\n13 bottles of beer on the wall, 13 bottles of beer.\nTake one down and pass it around, 12 bottles of beer on the wall.\n12 bottles of beer on the wall, 12 bottles of beer.\nTake one down and pass it around, 11 bottles of beer on the wall.\n11 bottles of beer on the wall, 11 bottles of beer.\nTake one down and pass it around, 10 bottles of beer on the wall.\n10 bottles of beer on the wall, 10 bottles of beer.\nTake one down and pass it around, 9 bottles of beer on the wall.\n9 bottles of beer on the wall, 9 bottles of beer.\nTake one down and pass it around, 8 bottles of beer on the wall.\n8 bottles of beer on the wall, 8 bottles of beer.\nTake one down and pass it around, 7 bottles of beer on the wall.\n7 bottles of beer on the wall, 7 bottles of beer.\nTake one down and pass it around, 6 bottles of beer on the wall.\n6 bottles of beer on the wall, 6 bottles of beer.\nTake one down and pass it around, 5 bottles of beer on the wall.\n5 bottles of beer on the wall, 5 bottles of beer.\nTake one down and pass it around, 4 bottles of beer on the wall.\n4 bottles of beer on the wall, 4 bottles of beer.\nTake one down and pass it around, 3 bottles of beer on the wall.\n3 bottles of beer on the wall, 3 bottles of beer.\nTake one down and pass it around, 2 bottles of beer on the wall.\n2 bottles of beer on the wall, 2 bottles of beer.\nTake one down and pass it around, 1 bottle of beer on the wall.\n1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.'''\n\ndef HQ9(code): return {'H': 'Hello World!', 'Q': 'Q', '9': lyrics}.get(code)", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    if code == \"Q\":\n        return code\n    if code == \"9\":\n        return \"\\n\".join([\"{0} bottles of beer on the wall, {0} bottles of beer.\\nTake one down and pass it around, {1} bottles of beer on the wall.\".format(i, i-1) for i in range(99, 2, -1)])+\"\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        text = ''\n        bottles = 99\n        for i in range(bottles,0,-1):\n            word = 'bottle'if i == 1 else 'bottles'\n            if i > 1:\n                s = f'{i} {word} of beer on the wall, {i} {word} of beer.\\n'\n                word = 'bottle'if i-1 == 1 else 'bottles'\n                s += f'Take one down and pass it around, {i-1} {word} of beer on the wall.\\n'\n            else:\n                s = f'{i} bottle of beer on the wall, {i} bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n            text += s\n        return text", "def HQ9(code):\n    \n    #Generates song for any positive beer count. Not usable for matching expected output.\n    def beer(count):\n        song = []\n        \n        if count < 1:\n            return \"Not enough beer to sing about.\"\n        \n        while count > 1:\n            lines = \"{0} bottles of beer on the wall, {0} bottles of beer.\\nTake one down and pass it around, {1} bottles of beer on the wall.\\n\"\n            song.append(lines.format(count, count-1))\n            \n            count -= 1\n            \n        song.append(\"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\")\n            \n        return \"\".join(song)\n                \n    \n    if code == \"H\":\n        return \"Hello World!\"\n    \n    elif code == \"Q\":\n        return code\n    \n    #Could only make this work by hardcoding. Copy/paste from expected output.\n    elif code == \"9\":\n        #count = 99\n        #print(beer(count))\n        return \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        \n    else:\n        pass", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        s = \"\"\n        for i in range(99,2,-1):\n            s += str(i) + \" bottles of beer on the wall, \" + str(i) + \" bottles of beer.\\n\"\n            s += \"Take one down and pass it around, \" + str(i-1) + \" bottles of beer on the wall.\\n\"\n        s += \"2 bottles of beer on the wall, 2 bottles of beer.\\n\"\n        s += \"Take one down and pass it around, 1 bottle of beer on the wall.\\n\"\n        s += \"1 bottle of beer on the wall, 1 bottle of beer.\\n\"\n        s += \"Take one down and pass it around, no more bottles of beer on the wall.\\n\"\n        s += \"No more bottles of beer on the wall, no more bottles of beer.\\n\"\n        s += \"Go to the store and buy some more, 99 bottles of beer on the wall.\"\n        return s;\n    else:\n        return\n    \n", "def HQ9(code):\n    lyrics = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    \n    i = 99\n    if code == \"X\":\n        return None\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return code\n    if code == '9':\n        return lyrics\n", "bottles = \"\"\"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\"\"\n\n\ndef HQ9(code: str) -> str:\n    return (\n        \"Hello World!\"\n        if code == \"H\"\n        else \"Q\"\n        if code == \"Q\"\n        else bottles\n        if code == \"9\"\n        else None\n    )\n", "HQ9 = lambda i: {'H': 'Hello World!', 'Q': i, '9': '\\n'.join([f'{n} bottles of beer on the wall, {n} bottles of beer.\\nTake one down and pass it around, {n-1} bottles of beer on the wall.' if n > 2 else f'{n} bottles of beer on the wall, {n} bottles of beer.\\nTake one down and pass it around, {n-1} bottle of beer on the wall.' if n == 2 else '1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.' if n == 1  else 'No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.' for n in range(99,-1,-1)])}.get(i, None)", "def HQ9(code):\n    codes = {'H':codeH,'Q':codeQ,'9':code9}\n    try:\n        return codes[code]()\n    except KeyError:\n        return None\n\ndef codeH():\n    return 'Hello World!'\n\ndef codeQ():\n    return 'Q'\n\ndef code9():\n    return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'", "def HQ9(code):\n    bottle = 99\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else:\n        return", "def HQ9(code):\n    if code==\"H\" : return \"Hello World!\"\n    if code==\"Q\" : return \"Q\"\n    if code==\"9\" :\n        out=\"\\n\".join([\"{} bottles of beer on the wall, {} bottles of beer.\\nTake one down and pass it around, {} bottles of beer on the wall.\".format(x+1,x+1,x) for x in range(98,1,-1)])\n        out+=\"\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"\n        out+=\"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\n\"\n        out+=\"No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return out\n    return None", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    if code == \"Q\":\n        return code\n    if code == \"9\":\n        return_string = \"\"\n        for x in range(99, 1, -1):\n            if x != 99:\n                return_string = return_string + \"Take one down and pass it around, \" + str(x) + \" bottles of beer on the wall.\\n\"\n            return_string = return_string + str(x) + ' bottles of beer on the wall, ' + str(x) + ' bottles of beer.\\n'\n        return_string = return_string + \"Take one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return return_string    \n    pass", "def HQ9(code):\n    a =  {'H': 'Hello World!', 'Q': code, '9': '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'}\n    return a.get(code, None)", "L = \"\"\"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\"\"\n\ndef HQ9(code):\n    if code == \"H\": return \"Hello World!\"\n    if code == \"Q\": return \"Q\"\n    if code == \"9\": return L", "def HQ9(code):\n    if code == 'H':\n        return \"Hello World!\"\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        num = 99\n        output = \"\"\n        while(num >= 0):\n            var1 = f'{str(num) if num > 0 else \"No more\"}'\n            var2 = \"\" if num == 1 else \"s\"\n            \n            var3 = num - 1 if num - 1 > 0 else \"no more\"\n            var4 = \"\" if num - 1 == 1 else \"s\"\n            \n            output += f'{var1} bottle{var2} of beer on the wall, {str(var1).lower()} bottle{var2} of beer.\\n'\n            if num > 0:\n                output += f'Take one down and pass it around, {var3} bottle{var4} of beer on the wall.\\n'\n            else:\n                output += f'Go to the store and buy some more, 99 bottles of beer on the wall.'\n            num -= 1\n        return output\n    return None\n", "def HQ9(c):\n    l = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    if c == \"H\":\n        return 'Hello World!'\n    elif c == 'Q':\n        return 'Q'\n    elif c == '9':\n        return l", "def HQ9(code):\n    s = ''''''\n    x = 99\n    if code == '9':\n        while (x >= 0):\n            if x - 1 == 0:\n                s += f'''{str(x)} bottle of beer on the wall, {str(x)} bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.'''\n                break\n            if x>1:\n                s += f'''{str(x)} bottles of beer on the wall, {str(x)} bottles of beer.\\n'''\n                if x-1>1:\n                    s+=f'''Take one down and pass it around, {str(x - 1)} bottles of beer on the wall.\\n'''\n                else:\n                    s+=f'''Take one down and pass it around, {str(x - 1)} bottle of beer on the wall.\\n'''\n            else:\n                s += f'''{str(x)} bottle of beer on the wall, {str(x)} bottle of beer.\nTake one down and pass it around, {str(x - 1)} bottle of beer on the wall.\\n'''\n            x -= 1\n    return {'H':'Hello World!','Q':'Q','9':s}.get(code)", "def HQ9(code):\n    \n    full_song = []\n    beer = 99\n    for i in range(2, beer):\n        lyric = f\"\"\"{beer} bottles of beer on the wall, {beer} bottles of beer.\"\"\" + '\\n' + \\\n            f\"\"\"Take one down and pass it around, {beer - 1} bottles of beer on the wall.\"\"\"\n    \n        beer -= 1\n        full_song.append(lyric)\n    \n    \n    end = \"2 bottles of beer on the wall, 2 bottles of beer.\" + \"\\n\" + \"Take one down and pass it around, 1 bottle of beer on the wall.\" + \"\\n\" + \"1 bottle of beer on the wall, 1 bottle of beer.\" + \"\\n\" + \\\n        \"Take one down and pass it around, no more bottles of beer on the wall.\" + \"\\n\" + \\\n        \"No more bottles of beer on the wall, no more bottles of beer.\" + \"\\n\" + \\\n        \"Go to the store and buy some more, 99 bottles of beer on the wall.\"\n    full_song.append(end)\n    \n    output_song = '\\n'.join(full_song)\n    \n    phrase = {\n        'H':'Hello World!',\n        'Q': 'Q',\n        '9': output_song\n    }\n    \n    return phrase.get(code, None)", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    if code == \"Q\": return \"Q\"\n    \n    if code == \"9\":\n        res =\"\"\n        for i in range(2,99):\n            res += f\"{101-i} bottles of beer on the wall, {101-i} bottles of beer.\\nTake one down and pass it around, {100-i} bottles of beer on the wall.\\n\"\n        res += \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"\n        res +=\"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        \n        return res\n    return None\n", "def HQ9(code):\n    if code == 'H': return 'Hello World!'\n    elif code == 'Q': return code\n    elif code == '9':\n        r = []\n        for i in range(99,1,-1):\n            r.append(\"{} bottles of beer on the wall, {} bottles of beer.\".format(i,i))\n            if i == 2:\n                r.append(\"Take one down and pass it around, {} bottle of beer on the wall.\".format(i-1))\n            else:\n                r.append(\"Take one down and pass it around, {} bottles of beer on the wall.\".format(i-1))\n        r.append(\"{} bottle of beer on the wall, {} bottle of beer.\".format(1,1))\n        r.append(\"Take one down and pass it around, no more bottles of beer on the wall.\")\n        r.append(\"No more bottles of beer on the wall, no more bottles of beer.\")\n        r.append(\"Go to the store and buy some more, 99 bottles of beer on the wall.\")\n        return '\\n'.join(r)", "def HQ9(code):\n    x = ''\n    bottles = 99\n    while bottles > 2:\n        x += '%d bottles of beer on the wall, %d bottles of beer.\\n' % (bottles, bottles)\n        x += 'Take one down and pass it around, %d bottles of beer on the wall.\\n' % (bottles-1)\n        bottles -= 1\n    x += '2 bottles of beer on the wall, 2 bottles of beer.\\n' +\\\n        'Take one down and pass it around, 1 bottle of beer on the wall.\\n' +\\\n        '1 bottle of beer on the wall, 1 bottle of beer.\\n' + \\\n        'Take one down and pass it around, no more bottles of beer on the wall.\\n' +\\\n        'No more bottles of beer on the wall, no more bottles of beer.\\n' +\\\n        'Go to the store and buy some more, 99 bottles of beer on the wall.'\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        return x\n    else:\n        return None", "def HQ9(code):\n    if code == '9':\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    elif code == 'Q':\n        return code \n    elif code == 'H':\n        return 'Hello World!'", "def HQ9(code):\n    return \"Hello World!\" if code == \"H\" else \"Q\" if code == \"Q\" else '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\\\n    if code == \"9\" else None", "def HQ9(code):\n    codes = {'H': 'Hello World!',\n             'Q': code,\n             '9': '\\n'.join(['''{0} bottles of beer on the wall, {0} bottles of beer.\nTake one down and pass it around, {1} bottles of beer on the wall.'''.format(x, x-1) for x in range(99, 2,-1)]) \n             + '\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'}\n    return codes.get(code)", "def HQ9(code):\n    if code[0] == 'H':\n        return \"Hello World!\"\n    elif code[0] == 'Q':\n        return code\n    elif code[0] == '9':\n        return \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return code\n    elif code == '9':\n        song = []\n        a = \"bottles of beer\"\n        b = \"on the wall\"\n        c = \"\\nTake one down and pass it around\"\n        d = \"bottle of beer\"\n        for i in range(99,2,-1):\n            song.append(f'{i} {a} {b}, {i} {a}.{c}, {i-1} {a} {b}.')\n        song.append(f'2 {a} {b}, 2 {a}.{c}, 1 {d} {b}.')\n        song.append(f'1 {d} {b}, 1 {d}.{c}, no more {a} {b}.\\nNo more {a} {b}, no more {a}.')\n        song.append(f'Go to the store and buy some more, 99 {a} {b}.')\n        return('\\n'.join(song))", "def HQ9(code):\n    if code == 'H': return \"Hello World!\"\n    if code == 'Q': return code\n\n    if code == '9':\n        lyrics = ''\n        for i in range(98):\n            current_bottle = 99 - i\n            next_bottle = 98 - i\n            current_bottle_text = 'bottles' if current_bottle > 1 else 'bottle'\n            next_bottle_text = 'bottles' if next_bottle > 1 else 'bottle'\n            lyrics += f\"{current_bottle} {current_bottle_text} of beer on the wall, {current_bottle} {current_bottle_text} of beer.\\nTake one down and pass it around, {next_bottle} {next_bottle_text} of beer on the wall.\\n\"\n\n        lyrics+= \"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\n\"\n        lyrics+= \"No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return lyrics\n    else:\n        return None\n", "def HQ9(code):\n    bottlesofbeer =\"\"\"99 bottles of beer on the wall, 99 bottles of beer.\nTake one down and pass it around, 98 bottles of beer on the wall.\n98 bottles of beer on the wall, 98 bottles of beer.\nTake one down and pass it around, 97 bottles of beer on the wall.\n97 bottles of beer on the wall, 97 bottles of beer.\nTake one down and pass it around, 96 bottles of beer on the wall.\n96 bottles of beer on the wall, 96 bottles of beer.\nTake one down and pass it around, 95 bottles of beer on the wall.\n95 bottles of beer on the wall, 95 bottles of beer.\nTake one down and pass it around, 94 bottles of beer on the wall.\n94 bottles of beer on the wall, 94 bottles of beer.\nTake one down and pass it around, 93 bottles of beer on the wall.\n93 bottles of beer on the wall, 93 bottles of beer.\nTake one down and pass it around, 92 bottles of beer on the wall.\n92 bottles of beer on the wall, 92 bottles of beer.\nTake one down and pass it around, 91 bottles of beer on the wall.\n91 bottles of beer on the wall, 91 bottles of beer.\nTake one down and pass it around, 90 bottles of beer on the wall.\n90 bottles of beer on the wall, 90 bottles of beer.\nTake one down and pass it around, 89 bottles of beer on the wall.\n89 bottles of beer on the wall, 89 bottles of beer.\nTake one down and pass it around, 88 bottles of beer on the wall.\n88 bottles of beer on the wall, 88 bottles of beer.\nTake one down and pass it around, 87 bottles of beer on the wall.\n87 bottles of beer on the wall, 87 bottles of beer.\nTake one down and pass it around, 86 bottles of beer on the wall.\n86 bottles of beer on the wall, 86 bottles of beer.\nTake one down and pass it around, 85 bottles of beer on the wall.\n85 bottles of beer on the wall, 85 bottles of beer.\nTake one down and pass it around, 84 bottles of beer on the wall.\n84 bottles of beer on the wall, 84 bottles of beer.\nTake one down and pass it around, 83 bottles of beer on the wall.\n83 bottles of beer on the wall, 83 bottles of beer.\nTake one down and pass it around, 82 bottles of beer on the wall.\n82 bottles of beer on the wall, 82 bottles of beer.\nTake one down and pass it around, 81 bottles of beer on the wall.\n81 bottles of beer on the wall, 81 bottles of beer.\nTake one down and pass it around, 80 bottles of beer on the wall.\n80 bottles of beer on the wall, 80 bottles of beer.\nTake one down and pass it around, 79 bottles of beer on the wall.\n79 bottles of beer on the wall, 79 bottles of beer.\nTake one down and pass it around, 78 bottles of beer on the wall.\n78 bottles of beer on the wall, 78 bottles of beer.\nTake one down and pass it around, 77 bottles of beer on the wall.\n77 bottles of beer on the wall, 77 bottles of beer.\nTake one down and pass it around, 76 bottles of beer on the wall.\n76 bottles of beer on the wall, 76 bottles of beer.\nTake one down and pass it around, 75 bottles of beer on the wall.\n75 bottles of beer on the wall, 75 bottles of beer.\nTake one down and pass it around, 74 bottles of beer on the wall.\n74 bottles of beer on the wall, 74 bottles of beer.\nTake one down and pass it around, 73 bottles of beer on the wall.\n73 bottles of beer on the wall, 73 bottles of beer.\nTake one down and pass it around, 72 bottles of beer on the wall.\n72 bottles of beer on the wall, 72 bottles of beer.\nTake one down and pass it around, 71 bottles of beer on the wall.\n71 bottles of beer on the wall, 71 bottles of beer.\nTake one down and pass it around, 70 bottles of beer on the wall.\n70 bottles of beer on the wall, 70 bottles of beer.\nTake one down and pass it around, 69 bottles of beer on the wall.\n69 bottles of beer on the wall, 69 bottles of beer.\nTake one down and pass it around, 68 bottles of beer on the wall.\n68 bottles of beer on the wall, 68 bottles of beer.\nTake one down and pass it around, 67 bottles of beer on the wall.\n67 bottles of beer on the wall, 67 bottles of beer.\nTake one down and pass it around, 66 bottles of beer on the wall.\n66 bottles of beer on the wall, 66 bottles of beer.\nTake one down and pass it around, 65 bottles of beer on the wall.\n65 bottles of beer on the wall, 65 bottles of beer.\nTake one down and pass it around, 64 bottles of beer on the wall.\n64 bottles of beer on the wall, 64 bottles of beer.\nTake one down and pass it around, 63 bottles of beer on the wall.\n63 bottles of beer on the wall, 63 bottles of beer.\nTake one down and pass it around, 62 bottles of beer on the wall.\n62 bottles of beer on the wall, 62 bottles of beer.\nTake one down and pass it around, 61 bottles of beer on the wall.\n61 bottles of beer on the wall, 61 bottles of beer.\nTake one down and pass it around, 60 bottles of beer on the wall.\n60 bottles of beer on the wall, 60 bottles of beer.\nTake one down and pass it around, 59 bottles of beer on the wall.\n59 bottles of beer on the wall, 59 bottles of beer.\nTake one down and pass it around, 58 bottles of beer on the wall.\n58 bottles of beer on the wall, 58 bottles of beer.\nTake one down and pass it around, 57 bottles of beer on the wall.\n57 bottles of beer on the wall, 57 bottles of beer.\nTake one down and pass it around, 56 bottles of beer on the wall.\n56 bottles of beer on the wall, 56 bottles of beer.\nTake one down and pass it around, 55 bottles of beer on the wall.\n55 bottles of beer on the wall, 55 bottles of beer.\nTake one down and pass it around, 54 bottles of beer on the wall.\n54 bottles of beer on the wall, 54 bottles of beer.\nTake one down and pass it around, 53 bottles of beer on the wall.\n53 bottles of beer on the wall, 53 bottles of beer.\nTake one down and pass it around, 52 bottles of beer on the wall.\n52 bottles of beer on the wall, 52 bottles of beer.\nTake one down and pass it around, 51 bottles of beer on the wall.\n51 bottles of beer on the wall, 51 bottles of beer.\nTake one down and pass it around, 50 bottles of beer on the wall.\n50 bottles of beer on the wall, 50 bottles of beer.\nTake one down and pass it around, 49 bottles of beer on the wall.\n49 bottles of beer on the wall, 49 bottles of beer.\nTake one down and pass it around, 48 bottles of beer on the wall.\n48 bottles of beer on the wall, 48 bottles of beer.\nTake one down and pass it around, 47 bottles of beer on the wall.\n47 bottles of beer on the wall, 47 bottles of beer.\nTake one down and pass it around, 46 bottles of beer on the wall.\n46 bottles of beer on the wall, 46 bottles of beer.\nTake one down and pass it around, 45 bottles of beer on the wall.\n45 bottles of beer on the wall, 45 bottles of beer.\nTake one down and pass it around, 44 bottles of beer on the wall.\n44 bottles of beer on the wall, 44 bottles of beer.\nTake one down and pass it around, 43 bottles of beer on the wall.\n43 bottles of beer on the wall, 43 bottles of beer.\nTake one down and pass it around, 42 bottles of beer on the wall.\n42 bottles of beer on the wall, 42 bottles of beer.\nTake one down and pass it around, 41 bottles of beer on the wall.\n41 bottles of beer on the wall, 41 bottles of beer.\nTake one down and pass it around, 40 bottles of beer on the wall.\n40 bottles of beer on the wall, 40 bottles of beer.\nTake one down and pass it around, 39 bottles of beer on the wall.\n39 bottles of beer on the wall, 39 bottles of beer.\nTake one down and pass it around, 38 bottles of beer on the wall.\n38 bottles of beer on the wall, 38 bottles of beer.\nTake one down and pass it around, 37 bottles of beer on the wall.\n37 bottles of beer on the wall, 37 bottles of beer.\nTake one down and pass it around, 36 bottles of beer on the wall.\n36 bottles of beer on the wall, 36 bottles of beer.\nTake one down and pass it around, 35 bottles of beer on the wall.\n35 bottles of beer on the wall, 35 bottles of beer.\nTake one down and pass it around, 34 bottles of beer on the wall.\n34 bottles of beer on the wall, 34 bottles of beer.\nTake one down and pass it around, 33 bottles of beer on the wall.\n33 bottles of beer on the wall, 33 bottles of beer.\nTake one down and pass it around, 32 bottles of beer on the wall.\n32 bottles of beer on the wall, 32 bottles of beer.\nTake one down and pass it around, 31 bottles of beer on the wall.\n31 bottles of beer on the wall, 31 bottles of beer.\nTake one down and pass it around, 30 bottles of beer on the wall.\n30 bottles of beer on the wall, 30 bottles of beer.\nTake one down and pass it around, 29 bottles of beer on the wall.\n29 bottles of beer on the wall, 29 bottles of beer.\nTake one down and pass it around, 28 bottles of beer on the wall.\n28 bottles of beer on the wall, 28 bottles of beer.\nTake one down and pass it around, 27 bottles of beer on the wall.\n27 bottles of beer on the wall, 27 bottles of beer.\nTake one down and pass it around, 26 bottles of beer on the wall.\n26 bottles of beer on the wall, 26 bottles of beer.\nTake one down and pass it around, 25 bottles of beer on the wall.\n25 bottles of beer on the wall, 25 bottles of beer.\nTake one down and pass it around, 24 bottles of beer on the wall.\n24 bottles of beer on the wall, 24 bottles of beer.\nTake one down and pass it around, 23 bottles of beer on the wall.\n23 bottles of beer on the wall, 23 bottles of beer.\nTake one down and pass it around, 22 bottles of beer on the wall.\n22 bottles of beer on the wall, 22 bottles of beer.\nTake one down and pass it around, 21 bottles of beer on the wall.\n21 bottles of beer on the wall, 21 bottles of beer.\nTake one down and pass it around, 20 bottles of beer on the wall.\n20 bottles of beer on the wall, 20 bottles of beer.\nTake one down and pass it around, 19 bottles of beer on the wall.\n19 bottles of beer on the wall, 19 bottles of beer.\nTake one down and pass it around, 18 bottles of beer on the wall.\n18 bottles of beer on the wall, 18 bottles of beer.\nTake one down and pass it around, 17 bottles of beer on the wall.\n17 bottles of beer on the wall, 17 bottles of beer.\nTake one down and pass it around, 16 bottles of beer on the wall.\n16 bottles of beer on the wall, 16 bottles of beer.\nTake one down and pass it around, 15 bottles of beer on the wall.\n15 bottles of beer on the wall, 15 bottles of beer.\nTake one down and pass it around, 14 bottles of beer on the wall.\n14 bottles of beer on the wall, 14 bottles of beer.\nTake one down and pass it around, 13 bottles of beer on the wall.\n13 bottles of beer on the wall, 13 bottles of beer.\nTake one down and pass it around, 12 bottles of beer on the wall.\n12 bottles of beer on the wall, 12 bottles of beer.\nTake one down and pass it around, 11 bottles of beer on the wall.\n11 bottles of beer on the wall, 11 bottles of beer.\nTake one down and pass it around, 10 bottles of beer on the wall.\n10 bottles of beer on the wall, 10 bottles of beer.\nTake one down and pass it around, 9 bottles of beer on the wall.\n9 bottles of beer on the wall, 9 bottles of beer.\nTake one down and pass it around, 8 bottles of beer on the wall.\n8 bottles of beer on the wall, 8 bottles of beer.\nTake one down and pass it around, 7 bottles of beer on the wall.\n7 bottles of beer on the wall, 7 bottles of beer.\nTake one down and pass it around, 6 bottles of beer on the wall.\n6 bottles of beer on the wall, 6 bottles of beer.\nTake one down and pass it around, 5 bottles of beer on the wall.\n5 bottles of beer on the wall, 5 bottles of beer.\nTake one down and pass it around, 4 bottles of beer on the wall.\n4 bottles of beer on the wall, 4 bottles of beer.\nTake one down and pass it around, 3 bottles of beer on the wall.\n3 bottles of beer on the wall, 3 bottles of beer.\nTake one down and pass it around, 2 bottles of beer on the wall.\n2 bottles of beer on the wall, 2 bottles of beer.\nTake one down and pass it around, 1 bottle of beer on the wall.\n1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\"\"\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return code\n    elif code == \"9\":\n        return bottlesofbeer\n    else:\n        return None", "def HQ9(code):\n    if code is 'H':\n        return 'Hello World!'\n    if code is 'Q':\n        return code\n    if code == '9':\n        return \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"", "def HQ9(code):\n    lyrics = \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n    dic={\n        'H':'Hello World!',\n        'Q': code,\n        '9': lyrics\n    }\n    if code in dic:\n        return dic[code]", "def HQ9(code):\n    if code == 'H':\n        return \"Hello World!\"\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        return \"\\n\".join([str(n) + \" bottles of beer on the wall, \" + str(n) + \" bottles of beer.\\nTake one down and pass it around, \" + str(n-1) + \" bottles of beer on the wall.\" if n > 2 else \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\" for n in range(99,1,-1)])\n    else:\n        return None\n", "def HQ9(code):\n    if code=='9':\n        result=\"\"\n        for i in range(99,2,-1):\n            result+=str(i)+\" bottles of beer on the wall, \"+str(i)+\" bottles of beer.\\nTake one down and pass it around, \"+str(i-1)+\" bottles of beer on the wall.\\n\"\n        result+=\"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return result\n    if code=='H':\n        return \"Hello World!\"\n    if code=='Q':\n        return 'Q'", "def bottles_song():\n    \n    return f'99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\ndef HQ9(code):\n    ops = {'H':'Hello World!', 'Q':'Q' , '9': bottles_song()}\n    return ops[code] if code in ops else None", "def HQ9(code):\n    s='99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    if code=='H':\n        return 'Hello World!'\n    elif code==\"9\":\n        return s\n    elif code=='Q':\n        return code\n    else:\n        return None\n", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return \"Q\"\n    elif code == \"9\":\n        return  '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else:\n        return None\n   \nprint((HQ9(\"x\")))\n", "interpreter = {\n                  'H' : 'Hello World!',\n                  'Q' : 'Q',\n                  # works only in this way\n                  '9' : '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n              }\n\ndef HQ9(code):\n    return interpreter.get(code)", "b = \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\ndef HQ9(code):\n    return 'Hello World!' if code==\"H\" else code if code==\"Q\" else b if code==\"9\" else None", "def HQ9(code):           \n    def generate_lyrics():\n        rv = '99 bottles of beer on the wall, 99 bottles of beer.'\n        for i in range(98, -1, -1):\n            plural = '' if i == 1 else 's'\n            beers =  'no more' if i == 0 else str(i)\n            rv += '\\nTake one down and pass it around, {} bottle{} of beer on the wall.'.format(beers, plural)\n            rv += '\\n{} bottle{} of beer on the wall, {} bottle{} of beer.'.format(beers if beers.isnumeric() else beers.capitalize(), plural, beers, plural)\n        else:\n            rv += '\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n        return rv    \n    return {\n        'H': 'Hello World!',\n        'Q': code,\n        '9': generate_lyrics()        \n    }.get(code, None)", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9' or code == 9:\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else:\n        return None", "lyrics='\\n'.join(f'{i} bottle{\"s\" if i != 1 else \"\"} of beer on the wall, {i} bottle{\"s\" if i != 1 else \"\"} of beer.\\nTake one down and pass it around, {(i-1) if i != 1 else \"no more\"} bottle{\"s\" if i != 2 else \"\"} of beer on the wall.' for i in range(99,0,-1))\nlyrics+='\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\nHQ9=lambda i:{'H':'Hello World!','Q':'Q','9':lyrics}.get(i)", "def HQ9(code):\n    if code == \"H\":\n        return 'Hello World!'\n    elif code == \"Q\":\n        return 'Q'\n    elif code == '9':\n        result = \"\"\n        for i in range(99, 2, -1):\n            iStr = str(i)\n            result += iStr + \" bottles of beer on the wall, \" + iStr + \" bottles of beer.\\n\"\n            result += \"Take one down and pass it around, \" + str(i - 1) + \" bottles of beer on the wall.\\n\"\n\n        result += \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"\n        result += \"1 bottle of beer on the wall, 1 bottle of beer.\\n\"\n        result += \"Take one down and pass it around, no more bottles of beer on the wall.\\n\"\n        result += \"No more bottles of beer on the wall, no more bottles of beer.\\n\"\n        result += \"Go to the store and buy some more, 99 bottles of beer on the wall.\"\n\n        return result\n\n# Q\nprint(HQ9(\"Q\"))\n# H\nprint(HQ9(\"H\"))\n# Not HQ9\nprint(HQ9(\"A\"))\n# 9\nprint(HQ9(\"9\"))", "def HQ9(code):\n    if code.lower() =='h':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else:\n        return None", "def HQ9(code):\n    if code == 'H': return 'Hello World!'\n    if code == 'Q': return 'Q'\n    if code == '9':\n        l = []\n        for i in range(99, 0, -1):\n            s = '{} bottle{} of beer on the wall, {} {} of beer.'.format(i, 's' if i !=1 else '', i, 'bottle' if i == 1 else 'bottles')\n            l.append(s)\n            s = 'Take one down and pass it around, {} {} of beer on the wall.'.format(i-1 if (i-1) != 0 else '', 'bottle' if i == 2 else ('bottles' if i != 1 else ''))\n            l.append(s)\n        l.append('No more bottles of beer on the wall, no more bottles of beer.')\n        l.append('Go to the store and buy some more, 99 bottles of beer on the wall.') \n        s = '\\n'.join(l)\n        s = s.replace('  of beer', 'no more bottles of beer')    # small trick \n        return  s                                     \n\n", "def HQ9(code):\n    if code == 'H': return 'Hello World!'\n    if code == 'Q': return code\n    if code == '9':\n        out = ''\n        for i in range(99, 2, -1):\n            out += f'{i} bottles of beer on the wall, {i} bottles of beer.\\nTake one down and pass it around, {i-1} bottles of beer on the wall.\\n'\n        return out + '2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'", "def HQ9(code):\n    def BB():\n        s = ''\n        for i in range(99, 0, -1):\n            s1 = ' of beer on the wall, {0}'.format(i)\n            s2 = ' bottles'\n            s3 = ' bottle'\n            s4 = ' of beer.\\nTake one down and pass it around, '\n            s5 = str(i-1) if i > 1 else 'no more'\n            s6 = ' of beer on the wall.\\n'\n            s += str(i)\n            if i > 2:\n                s += s2 + s1 + s2 + s4 + s5 + s2 + s6\n            elif i == 2: \n                s += s2 + s1 + s2 + s4 + s5 + s3 + s6\n            elif i == 1: \n                s += s3 + s1 + s3 + s4 + s5 + s2 + s6\n                s += 'No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n        return s\n    return 'Hello World!' if code == 'H' else (code if code == 'Q' else (BB() if code == '9' else None))", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        bottles = 99\n        s = str(bottles) + ' bottles of beer on the wall, ' + str(bottles) + ' bottles of beer.\\nTake one down and pass it around, ' + str(bottles - 1) + ' bottles of beer on the wall.\\n'\n        for i in range(bottles - 1, 2, -1):\n            s += str(i) + ' bottles of beer on the wall, ' + str(i) + ' bottles of beer.\\nTake one down and pass it around, ' + str(i - 1) + ' bottles of beer on the wall.\\n'\n        s += '2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, ' + str(bottles) + ' bottles of beer on the wall.'\n        return s\n    return None", "def HQ9(code):\n    if code == \"H\":\n        return 'Hello World!'\n    elif code == \"Q\":\n        return 'Q'\n    elif code == '9' :\n        result = \"\"\n        for i in range(99, 2, -1):\n            iStr = str(i)\n            result += iStr + \" bottles of beer on the wall, \" + iStr + \" bottles of beer.\\n\"\n            result += \"Take one down and pass it around, \" + str(i - 1) + \" bottles of beer on the wall.\\n\"\n\n        result += \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"\n        result += \"1 bottle of beer on the wall, 1 bottle of beer.\\n\"\n        result += \"Take one down and pass it around, no more bottles of beer on the wall.\\n\"\n        result += \"No more bottles of beer on the wall, no more bottles of beer.\\n\"\n        result += \"Go to the store and buy some more, 99 bottles of beer on the wall.\"\n        \n        return result", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return code\n    elif code == \"9\":\n        text = \"\\n\".join(f\"{i} bottles of beer on the wall, {i} bottles of beer.\\nTake one down and pass it around, {i-1} bottles of beer on the wall.\" for i in range(99, 2, -1))\n        text += \"\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\"\n        text += \"\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\"\n        text += \"\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n        return text\n    else:\n        return None", "def HQ9(code):\n    count = 99\n    second_count = count - 1\n    song = \"\"\n    two_left = \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"\n    one_left = \"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\n\"\n    none_left = \"No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n    if code == 'H':\n        return \"Hello World!\"\n    if code == 'Q':\n        return code\n    if code == '9':\n        while count > 2:\n            song = song + str(count) + \" bottles of beer on the wall, \" + str(count) + \" bottles of beer.\\nTake one down and pass it around, \" + str(count - 1) +\" bottles of beer on the wall.\\n\"\n            count -= 1\n            if count == 2:\n                \n                song = song + two_left + one_left + none_left\n        \n        return song\n    else:\n        return None\n    \n", "def HQ9(code):\n    result = None \n    if code == 'H':\n        result = 'Hello World!'\n    elif code == 'Q':\n        result = code\n    elif code == '9':\n        result = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    return result", "def bottle():\n    song = \"\"\n    for i in range(99, 0, -1):\n        if(i == 2):\n            song += \"{} bottles of beer on the wall, {} bottles of beer.\\nTake one down and pass it around, {} bottle of beer on the wall.\\n\".format(i, i, i-1)\n        elif(i == 1):\n            song += \"{} bottle of beer on the wall, {} bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\".format(i, i)\n        else:\n            song += \"{} bottles of beer on the wall, {} bottles of beer.\\nTake one down and pass it around, {} bottles of beer on the wall.\\n\".format(i, i, i-1)\n    return song\n\ndef HQ9(code):\n    return {\n        \"H\" : \"Hello World!\",\n        \"Q\" : \"Q\",\n        \"9\" : bottle()\n    }.get(code, None)\n", "def HQ9(code):\n    l = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    return 'Hello World!' if code == 'H' else 'Q' if code == 'Q' else l if code == '9' else None", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        i = 99\n        song = \"\"\n        while i > 2:\n            song += f\"{str(int(float(i)))} bottles of beer on the wall, {str(int(float(i)))} bottles of beer.\\nTake one down and pass it around, {str(int(float(i-1)))} bottles of beer on the wall.\\n\"\n            i-=1\n        return f\"{song}2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n", "def HQ9(code):\n    code = str(code)\n    value= '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        return  value\n    else:\n        return None", "def HQ9(code):\n    if code==\"H\":\n        return 'Hello World!'\n    elif code==\"Q\":\n        return \"Q\"\n    elif code==\"9\":\n        s='99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n        return s\n    else:\n        return None", "def HQ9(c):\n    return c if c=='Q' else 'Hello World!' if c=='H' else ('99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.') if c=='9' else None", "def HQ9(code):\n    string = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        return string\n    else:\n        return None", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    if code == \"Q\":\n        return \"Q\"\n    if code == \"9\":\n        #This is why copy-paste exists\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'", "BEER = \"bottles of beer\"\n\ndef HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return code\n    elif code == \"9\":\n        lyrics = \"\\n\".join(\n        [\"{0} {1} on the wall, {0} {1}.\\nTake one down and pass it around, {2} {1} on the wall.\"\n         .format(i, BEER, i-1) for i in range(99, 2, -1)]\n        )\n        lyrics += \"\\n2 bottles of beer on the wall, 2 bottles of beer.\\n\" + \\\n            \"Take one down and pass it around, 1 bottle of beer on the wall.\\n\" + \\\n            \"1 bottle of beer on the wall, 1 bottle of beer.\\n\" + \\\n            \"Take one down and pass it around, no more bottles of beer on the wall.\\n\" + \\\n            \"No more bottles of beer on the wall, no more bottles of beer.\\n\" + \\\n            \"Go to the store and buy some more, 99 bottles of beer on the wall.\"\n        return lyrics", "bottles99lyrics ='99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\ndef HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return code\n    elif code == '9':\n        return bottles99lyrics", "def HQ9(code):\n    d = {\n        \"H\":\"Hello World!\",\n        \"Q\":'{x}'.format(x=code),\n        \"9\": '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    }\n    return d[code] if(code in d) else None", "def HQ9(code, number=99):\n    if code == 'H':\n        return 'Hello World!'\n    elif code== 'Q':\n        return 'Q'\n    elif code== '9':\n        if number == 1:\n            return '1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n        elif number == 2:\n            return '2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n'+ HQ9(code, number-1)\n        elif number >= 3:\n            return str(number)+' bottles of beer on the wall, '+str(number)+' bottles of beer.\\nTake one down and pass it around, '+str(number-1)+' bottles of beer on the wall.\\n'+ HQ9(code, number-1)\n    return", "HQ9 = lambda c, b=(lambda x: \"{} bottle{} of beer\".format(x if x > 0 else \"no more\", \"s\" if x!=1 else \"\")): {'H':'Hello World!', 'Q':'Q', '9':\"\".join(\"{0}{2}, {1} on the wall.\\n\".format(\"{0} on the wall, {0}.\\n\".format(b(i)).capitalize(), b(i-1) if i else b(99), \"Take one down and pass it around\" if i else \"Go to the store and buy some more\") for i in range(99, -1, -1))[:-1]}.get(c, None)\n\n", "song = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\ndef HQ9(code):\n    if code == 'H' : return 'Hello World!'\n    if code == 'Q' : return 'Q'\n    if code == '9' : return song", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        return full_lyrics()\n    return None\n\ndef full_lyrics():\n    text = ''\n    \n    for i in range(99, 2, -1):\n        text += f'{i} bottles of beer on the wall, {i} bottles of beer.\\n'\n        text += f'Take one down and pass it around, {i - 1} bottles of beer on the wall.\\n'\n        \n    text += '''2 bottles of beer on the wall, 2 bottles of beer.\nTake one down and pass it around, 1 bottle of beer on the wall.\n1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.'''\n    \n    return text", "s = ''\n\nfor i in range(99,2,-1):\n    s = s + str(i) + ' bottles of beer on the wall, ' + str(i) + \" bottles of beer.\\n\" + \"Take one down and pass it around, \" + str(i-1) + \" bottles of beer on the wall.\\n\"\n\ns = s + \"2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n\"+ \"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\n\" +\"No more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n\n\ndef HQ9(code):\n    if code == 'H':\n        return \"Hello World!\"\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        return s\n    else:\n        return None\n\n", "def HQ9(code):\n    if code == 'Q': return code\n    elif code == 'H': return \"Hello World!\"\n    elif code == '9': return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n    else: return", "def HQ9(code):\n    if code == \"H\":\n        return \"Hello World!\"\n    elif code == \"Q\":\n        return \"Q\"\n    elif code == \"9\":\n        i = 99\n        song = \"\"\n        while i > 2:\n            song += f\"\"\"{i} bottles of beer on the wall, {i} bottles of beer.\nTake one down and pass it around, {i-1} bottles of beer on the wall.\n\"\"\"\n            i -= 1\n        song += \"\"\"2 bottles of beer on the wall, 2 bottles of beer.\nTake one down and pass it around, 1 bottle of beer on the wall.\n1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\"\"\n        return song", "def HQ9(code):\n    return {'H': 'Hello World!', 'Q': 'Q', '9': '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'}.setdefault(code, None)", "x = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\ndef HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return 'Q'\n    if code == '9':\n        return x\n    \n    pass", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        lyrics = ''\n        for i in range(99, 2, -1):\n            lyrics += '{bottles} bottles of beer on the wall, {bottles} bottles of beer.\\n'.format(bottles=i)\n            lyrics += 'Take one down and pass it around, {bottles} bottles of beer on the wall.\\n'.format(bottles=i-1)\n        lyrics += '2 bottles of beer on the wall, 2 bottles of beer.\\n'\n        lyrics += 'Take one down and pass it around, 1 bottle of beer on the wall.\\n'\n        lyrics += '1 bottle of beer on the wall, 1 bottle of beer.\\n'\n        lyrics += 'Take one down and pass it around, no more bottles of beer on the wall.\\n'\n        lyrics += 'No more bottles of beer on the wall, no more bottles of beer.\\n'\n        lyrics += 'Go to the store and buy some more, 99 bottles of beer on the wall.'\n        return lyrics\n    return None", "def HQ9(code):\n    if code == 'H': return 'Hello World!'\n    if code == 'Q': return code\n    if code == '9':\n        lyrics = ''\n        for i in range(99, 0, -1):\n            lyrics += '{} bottle{} of beer on the wall, {} bottle{} of beer.\\n'.format(i, 's' if i > 1 else '', i, '' if i == 1 else 's')\n            lyrics += 'Take one down and pass it around, {} bottle{} of beer on the wall.\\n'.format(i - 1 if i > 1 else 'no more', '' if i == 2 else 's')\n        lyrics += 'No more bottles of beer on the wall, no more bottles of beer.\\n'\n        lyrics += 'Go to the store and buy some more, 99 bottles of beer on the wall.'\n        return lyrics", "def HQ9(code):\n    beer = 99\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return code\n    if code == '9':\n        return '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\n    else:\n        return None\n", "def HQ9(code):\n    bottles = 100\n    res = ''\n    if code == 'H':\n        return 'Hello World!'\n    elif code == 'Q':\n        return 'Q'\n    elif code == '9':\n        for i in range(99):\n            if bottles == 3:\n                res += '2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.'\n                bottles -= 1\n            elif bottles == 2:\n                res += '\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.'\n                res += '\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n            else:\n                bottles -= 1\n                res += '{} bottles of beer on the wall, {} bottles of beer.\\nTake one down and pass it around, {} bottles of beer on the wall.\\n'.format(bottles, bottles, bottles-1)\n        return res", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return 'Q'\n    if code == '9':\n        return '\\n'.join(\n            f'{i} bottles of beer on the wall, {i} bottles of beer.\\n' + \n            f'Take one down and pass it around, {i-1} bottles of beer on the wall.'\n            for i in range(99, 2, -1)\n            ) + \\\n            '\\n2 bottles of beer on the wall, 2 bottles of beer.' + \\\n            '\\nTake one down and pass it around, 1 bottle of beer on the wall.' + \\\n            '\\n1 bottle of beer on the wall, 1 bottle of beer.' + \\\n            '\\nTake one down and pass it around, no more bottles of beer on the wall.' + \\\n            '\\nNo more bottles of beer on the wall, no more bottles of beer.' + \\\n            '\\nGo to the store and buy some more, 99 bottles of beer on the wall.'", "# s = \"\"\n# for i in range(2,100)[::-1]:\n#     s+=\"{} bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, {} bottles of beer on the wall.\\n\".format(i, i-1)\n# s+=\"1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n\n# s = \"99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 1 bottles of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.' should equal '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.\"\n\ns = '99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, 98 bottles of beer on the wall.\\n98 bottles of beer on the wall, 98 bottles of beer.\\nTake one down and pass it around, 97 bottles of beer on the wall.\\n97 bottles of beer on the wall, 97 bottles of beer.\\nTake one down and pass it around, 96 bottles of beer on the wall.\\n96 bottles of beer on the wall, 96 bottles of beer.\\nTake one down and pass it around, 95 bottles of beer on the wall.\\n95 bottles of beer on the wall, 95 bottles of beer.\\nTake one down and pass it around, 94 bottles of beer on the wall.\\n94 bottles of beer on the wall, 94 bottles of beer.\\nTake one down and pass it around, 93 bottles of beer on the wall.\\n93 bottles of beer on the wall, 93 bottles of beer.\\nTake one down and pass it around, 92 bottles of beer on the wall.\\n92 bottles of beer on the wall, 92 bottles of beer.\\nTake one down and pass it around, 91 bottles of beer on the wall.\\n91 bottles of beer on the wall, 91 bottles of beer.\\nTake one down and pass it around, 90 bottles of beer on the wall.\\n90 bottles of beer on the wall, 90 bottles of beer.\\nTake one down and pass it around, 89 bottles of beer on the wall.\\n89 bottles of beer on the wall, 89 bottles of beer.\\nTake one down and pass it around, 88 bottles of beer on the wall.\\n88 bottles of beer on the wall, 88 bottles of beer.\\nTake one down and pass it around, 87 bottles of beer on the wall.\\n87 bottles of beer on the wall, 87 bottles of beer.\\nTake one down and pass it around, 86 bottles of beer on the wall.\\n86 bottles of beer on the wall, 86 bottles of beer.\\nTake one down and pass it around, 85 bottles of beer on the wall.\\n85 bottles of beer on the wall, 85 bottles of beer.\\nTake one down and pass it around, 84 bottles of beer on the wall.\\n84 bottles of beer on the wall, 84 bottles of beer.\\nTake one down and pass it around, 83 bottles of beer on the wall.\\n83 bottles of beer on the wall, 83 bottles of beer.\\nTake one down and pass it around, 82 bottles of beer on the wall.\\n82 bottles of beer on the wall, 82 bottles of beer.\\nTake one down and pass it around, 81 bottles of beer on the wall.\\n81 bottles of beer on the wall, 81 bottles of beer.\\nTake one down and pass it around, 80 bottles of beer on the wall.\\n80 bottles of beer on the wall, 80 bottles of beer.\\nTake one down and pass it around, 79 bottles of beer on the wall.\\n79 bottles of beer on the wall, 79 bottles of beer.\\nTake one down and pass it around, 78 bottles of beer on the wall.\\n78 bottles of beer on the wall, 78 bottles of beer.\\nTake one down and pass it around, 77 bottles of beer on the wall.\\n77 bottles of beer on the wall, 77 bottles of beer.\\nTake one down and pass it around, 76 bottles of beer on the wall.\\n76 bottles of beer on the wall, 76 bottles of beer.\\nTake one down and pass it around, 75 bottles of beer on the wall.\\n75 bottles of beer on the wall, 75 bottles of beer.\\nTake one down and pass it around, 74 bottles of beer on the wall.\\n74 bottles of beer on the wall, 74 bottles of beer.\\nTake one down and pass it around, 73 bottles of beer on the wall.\\n73 bottles of beer on the wall, 73 bottles of beer.\\nTake one down and pass it around, 72 bottles of beer on the wall.\\n72 bottles of beer on the wall, 72 bottles of beer.\\nTake one down and pass it around, 71 bottles of beer on the wall.\\n71 bottles of beer on the wall, 71 bottles of beer.\\nTake one down and pass it around, 70 bottles of beer on the wall.\\n70 bottles of beer on the wall, 70 bottles of beer.\\nTake one down and pass it around, 69 bottles of beer on the wall.\\n69 bottles of beer on the wall, 69 bottles of beer.\\nTake one down and pass it around, 68 bottles of beer on the wall.\\n68 bottles of beer on the wall, 68 bottles of beer.\\nTake one down and pass it around, 67 bottles of beer on the wall.\\n67 bottles of beer on the wall, 67 bottles of beer.\\nTake one down and pass it around, 66 bottles of beer on the wall.\\n66 bottles of beer on the wall, 66 bottles of beer.\\nTake one down and pass it around, 65 bottles of beer on the wall.\\n65 bottles of beer on the wall, 65 bottles of beer.\\nTake one down and pass it around, 64 bottles of beer on the wall.\\n64 bottles of beer on the wall, 64 bottles of beer.\\nTake one down and pass it around, 63 bottles of beer on the wall.\\n63 bottles of beer on the wall, 63 bottles of beer.\\nTake one down and pass it around, 62 bottles of beer on the wall.\\n62 bottles of beer on the wall, 62 bottles of beer.\\nTake one down and pass it around, 61 bottles of beer on the wall.\\n61 bottles of beer on the wall, 61 bottles of beer.\\nTake one down and pass it around, 60 bottles of beer on the wall.\\n60 bottles of beer on the wall, 60 bottles of beer.\\nTake one down and pass it around, 59 bottles of beer on the wall.\\n59 bottles of beer on the wall, 59 bottles of beer.\\nTake one down and pass it around, 58 bottles of beer on the wall.\\n58 bottles of beer on the wall, 58 bottles of beer.\\nTake one down and pass it around, 57 bottles of beer on the wall.\\n57 bottles of beer on the wall, 57 bottles of beer.\\nTake one down and pass it around, 56 bottles of beer on the wall.\\n56 bottles of beer on the wall, 56 bottles of beer.\\nTake one down and pass it around, 55 bottles of beer on the wall.\\n55 bottles of beer on the wall, 55 bottles of beer.\\nTake one down and pass it around, 54 bottles of beer on the wall.\\n54 bottles of beer on the wall, 54 bottles of beer.\\nTake one down and pass it around, 53 bottles of beer on the wall.\\n53 bottles of beer on the wall, 53 bottles of beer.\\nTake one down and pass it around, 52 bottles of beer on the wall.\\n52 bottles of beer on the wall, 52 bottles of beer.\\nTake one down and pass it around, 51 bottles of beer on the wall.\\n51 bottles of beer on the wall, 51 bottles of beer.\\nTake one down and pass it around, 50 bottles of beer on the wall.\\n50 bottles of beer on the wall, 50 bottles of beer.\\nTake one down and pass it around, 49 bottles of beer on the wall.\\n49 bottles of beer on the wall, 49 bottles of beer.\\nTake one down and pass it around, 48 bottles of beer on the wall.\\n48 bottles of beer on the wall, 48 bottles of beer.\\nTake one down and pass it around, 47 bottles of beer on the wall.\\n47 bottles of beer on the wall, 47 bottles of beer.\\nTake one down and pass it around, 46 bottles of beer on the wall.\\n46 bottles of beer on the wall, 46 bottles of beer.\\nTake one down and pass it around, 45 bottles of beer on the wall.\\n45 bottles of beer on the wall, 45 bottles of beer.\\nTake one down and pass it around, 44 bottles of beer on the wall.\\n44 bottles of beer on the wall, 44 bottles of beer.\\nTake one down and pass it around, 43 bottles of beer on the wall.\\n43 bottles of beer on the wall, 43 bottles of beer.\\nTake one down and pass it around, 42 bottles of beer on the wall.\\n42 bottles of beer on the wall, 42 bottles of beer.\\nTake one down and pass it around, 41 bottles of beer on the wall.\\n41 bottles of beer on the wall, 41 bottles of beer.\\nTake one down and pass it around, 40 bottles of beer on the wall.\\n40 bottles of beer on the wall, 40 bottles of beer.\\nTake one down and pass it around, 39 bottles of beer on the wall.\\n39 bottles of beer on the wall, 39 bottles of beer.\\nTake one down and pass it around, 38 bottles of beer on the wall.\\n38 bottles of beer on the wall, 38 bottles of beer.\\nTake one down and pass it around, 37 bottles of beer on the wall.\\n37 bottles of beer on the wall, 37 bottles of beer.\\nTake one down and pass it around, 36 bottles of beer on the wall.\\n36 bottles of beer on the wall, 36 bottles of beer.\\nTake one down and pass it around, 35 bottles of beer on the wall.\\n35 bottles of beer on the wall, 35 bottles of beer.\\nTake one down and pass it around, 34 bottles of beer on the wall.\\n34 bottles of beer on the wall, 34 bottles of beer.\\nTake one down and pass it around, 33 bottles of beer on the wall.\\n33 bottles of beer on the wall, 33 bottles of beer.\\nTake one down and pass it around, 32 bottles of beer on the wall.\\n32 bottles of beer on the wall, 32 bottles of beer.\\nTake one down and pass it around, 31 bottles of beer on the wall.\\n31 bottles of beer on the wall, 31 bottles of beer.\\nTake one down and pass it around, 30 bottles of beer on the wall.\\n30 bottles of beer on the wall, 30 bottles of beer.\\nTake one down and pass it around, 29 bottles of beer on the wall.\\n29 bottles of beer on the wall, 29 bottles of beer.\\nTake one down and pass it around, 28 bottles of beer on the wall.\\n28 bottles of beer on the wall, 28 bottles of beer.\\nTake one down and pass it around, 27 bottles of beer on the wall.\\n27 bottles of beer on the wall, 27 bottles of beer.\\nTake one down and pass it around, 26 bottles of beer on the wall.\\n26 bottles of beer on the wall, 26 bottles of beer.\\nTake one down and pass it around, 25 bottles of beer on the wall.\\n25 bottles of beer on the wall, 25 bottles of beer.\\nTake one down and pass it around, 24 bottles of beer on the wall.\\n24 bottles of beer on the wall, 24 bottles of beer.\\nTake one down and pass it around, 23 bottles of beer on the wall.\\n23 bottles of beer on the wall, 23 bottles of beer.\\nTake one down and pass it around, 22 bottles of beer on the wall.\\n22 bottles of beer on the wall, 22 bottles of beer.\\nTake one down and pass it around, 21 bottles of beer on the wall.\\n21 bottles of beer on the wall, 21 bottles of beer.\\nTake one down and pass it around, 20 bottles of beer on the wall.\\n20 bottles of beer on the wall, 20 bottles of beer.\\nTake one down and pass it around, 19 bottles of beer on the wall.\\n19 bottles of beer on the wall, 19 bottles of beer.\\nTake one down and pass it around, 18 bottles of beer on the wall.\\n18 bottles of beer on the wall, 18 bottles of beer.\\nTake one down and pass it around, 17 bottles of beer on the wall.\\n17 bottles of beer on the wall, 17 bottles of beer.\\nTake one down and pass it around, 16 bottles of beer on the wall.\\n16 bottles of beer on the wall, 16 bottles of beer.\\nTake one down and pass it around, 15 bottles of beer on the wall.\\n15 bottles of beer on the wall, 15 bottles of beer.\\nTake one down and pass it around, 14 bottles of beer on the wall.\\n14 bottles of beer on the wall, 14 bottles of beer.\\nTake one down and pass it around, 13 bottles of beer on the wall.\\n13 bottles of beer on the wall, 13 bottles of beer.\\nTake one down and pass it around, 12 bottles of beer on the wall.\\n12 bottles of beer on the wall, 12 bottles of beer.\\nTake one down and pass it around, 11 bottles of beer on the wall.\\n11 bottles of beer on the wall, 11 bottles of beer.\\nTake one down and pass it around, 10 bottles of beer on the wall.\\n10 bottles of beer on the wall, 10 bottles of beer.\\nTake one down and pass it around, 9 bottles of beer on the wall.\\n9 bottles of beer on the wall, 9 bottles of beer.\\nTake one down and pass it around, 8 bottles of beer on the wall.\\n8 bottles of beer on the wall, 8 bottles of beer.\\nTake one down and pass it around, 7 bottles of beer on the wall.\\n7 bottles of beer on the wall, 7 bottles of beer.\\nTake one down and pass it around, 6 bottles of beer on the wall.\\n6 bottles of beer on the wall, 6 bottles of beer.\\nTake one down and pass it around, 5 bottles of beer on the wall.\\n5 bottles of beer on the wall, 5 bottles of beer.\\nTake one down and pass it around, 4 bottles of beer on the wall.\\n4 bottles of beer on the wall, 4 bottles of beer.\\nTake one down and pass it around, 3 bottles of beer on the wall.\\n3 bottles of beer on the wall, 3 bottles of beer.\\nTake one down and pass it around, 2 bottles of beer on the wall.\\n2 bottles of beer on the wall, 2 bottles of beer.\\nTake one down and pass it around, 1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n\ndef HQ9(code):\n    if code=='H':\n        return 'Hello World!'\n    elif code=='Q':\n        return code\n    elif code=='9':\n        return s\n    else:\n        return None", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return code\n    if code == '9':\n        text = f'99 bottles of beer on the wall, 99 bottles of beer.\\nTake one down and pass it around, '\n        for i in range(98, 1, -1):\n            text += f'{i} bottles of beer on the wall.\\n{i} bottles of beer on the wall, {i} bottles of beer.\\nTake ' \\\n                    f'one down and pass it around, '\n        text += f'1 bottle of beer on the wall.\\n1 bottle of beer on the wall, 1 bottle of beer.\\nTake one down and pass it around, no more bottles of beer on the wall.\\nNo more bottles of beer on the wall, no more bottles of beer.\\nGo to the store and buy some more, 99 bottles of beer on the wall.'\n        return text", "def HQ9(code):\n    if code == 'H':\n        return 'Hello World!'\n    if code == 'Q':\n        return 'Q'\n    if code == '9':\n        t = ''\n        b = 99\n        while b>2:\n            t += str(b)+' bottles of beer on the wall, '+str(b)+' bottles of beer.\\n'\n            t += 'Take one down and pass it around, '+str(b-1)+' bottles of beer on the wall.\\n'\n            b -= 1\n        t += '2 bottles of beer on the wall, 2 bottles of beer.\\n'\n        t += 'Take one down and pass it around, 1 bottle of beer on the wall.\\n'\n        t += '1 bottle of beer on the wall, 1 bottle of beer.\\n'\n        t += 'Take one down and pass it around, no more bottles of beer on the wall.\\n'\n        t += 'No more bottles of beer on the wall, no more bottles of beer.\\n'\n        t += 'Go to the store and buy some more, 99 bottles of beer on the wall.'\n        return t\n    else:\n        return None"]