using System;
public class Program
{
public static void Main()
int[] M = new int[10];
M[0]= 27;
M[1]= 05;
M[2]= 2005;
M[3]= 456;
M[4]= 574;
M[5]= 863;
M[6]= 723;
M[7]= 925;
M[8]= 211;
M[9]= 111;
Console.WriteLine(String.Join(" ", M));
int[] M1 = new int[10];
M1[0]= 27;
M1[1]= 05;
M1[2]= 2005;
M1[3]= 456;
M1[4]= 574;
M1[5]= 863;
M1[6]= 723;
M1[7]= 925;
M1[8]= 211;
M1[9]= 111;
for (int i= 0; i < 10; i++)
M[i] = Convert.ToInt32(Console.ReadLine());
Console.Write(M1[i]+" ");
}
}}