using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string input = Console.ReadLine(); int ans = 0; bool flg = true; for(int i=1;i<=10;i++) { for(int j=1;j<=10;j++) { ans = i + j; if(ans.ToString()==input) { Console.WriteLine(i + " " + j); flg = false; break; } } if(flg==false) { break; } } } } }