def test_input_five(self, stdout):
     main()
     self.assertEqual(stdout.getvalue(), "\n".join([
         '12',
     ]) + '\n')
 def test_input_eight(self, stdout):
     main()
     self.assertEqual(stdout.getvalue(), "\n".join([
         '0',
     ]) + '\n')
 def test_input_one_second(self, stdout):
     main()
     self.assertEqual(stdout.getvalue(), "\n".join([
         '2',
     ]) + '\n')