using System; public class Hello { public static void Main() { getAns(); } public static void getAns () { var imax = 100000; Console.WriteLine("{0} {1}" ,0,0); var a = int.Parse(Console.ReadLine().Trim()); if (a == 0) return; Console.WriteLine("{0} {1}",imax,0); var b = int.Parse(Console.ReadLine().Trim()); if (b == 0) return; var ax = (imax + a - b) / 2; var ay = a - ax; Console.WriteLine("{0} {1}", ax, ay); } }