using System;
public class Program
{
public static void Main()
string str="Иван Христов";
int n=str.IndexOf(" ");
Console.WriteLine("Здравейте г-н/г-жо{0}", str.Substring(n));
}