using System; public class hello { static void Main() { var t = int.Parse(Console.ReadLine().Trim()); var a = new int[t]; for (int i = 0; i < t; i++) { string[] line = Console.ReadLine().Trim().Split(' '); line[2] = (int.Parse(line[2]) + 1).ToString(); Console.WriteLine(string.Join(" ", line)); } } }