using System; using System.Linq; class Program { static void Main() { var cnt = int.Parse(Console.ReadLine()); var ans = ""; for (var i = 0; i < cnt; i++ ) { var inp = Console.ReadLine(); string s = inp.TrimStart(new char[] { '0' }); ans += s + Environment.NewLine; } Console.WriteLine(ans); } }