using System;
using System.Collections.Generic;
using System.Linq;

class A
{
	static void Main ()
	{
		string inputStr1;

		while ((inputStr1 = Console.ReadLine ()) != null)
		{
			int[] hand1 = Array.ConvertAll (inputStr1.Split (' '), int.Parse);
			int[] hand2 = Array.ConvertAll (Console.ReadLine ().Split (' '), int.Parse);
		}

		Console.WriteLine (inputStr1);
	}
}