def test_input_four(self, stdout):
     main()
     self.assertEqual(
         stdout.getvalue(), "\n".join([
             'rita',
             'timofey',
             'alla',
             'gosha',
             'gena',
         ]) + '\n')
 def test_input_eighteen(self, stdout):
     main()
     self.assertEqual(
         stdout.getvalue(), "\n".join([
             'easfsifbzkfezn',
             'evjphqnevjqakze',
             'wwzwv',
             'xvf',
             'tufhdbi',
             'tgcytmfpj',
             'kivdiy',
             'rqyoazgbmv',
             'qvgtrlkmyrm',
             'jzpnpgpcqbsmczrgvsu',
             'tzamkyqadmybky',
             'tfpiqpwmkkduhcupp',
             'amotrxgba',
         ]) + '\n')
 def test_input_five(self, stdout):
     main()
     self.assertEqual(stdout.getvalue(), "\n".join([
         'alla',
     ]) + '\n')
 def test_input_sixteen(self, stdout):
     main()
     self.assertEqual(stdout.getvalue(),
                      "\n".join(['alla', 'gena', 'gosha']) + '\n')