using System;
public class Program
{
public static void Main()
string str="My Name is Swati";
string newstr="";
string[] strarr= str.Split(' ');
for(int i= strarr.Length-1;i>=0;i--)
newstr= newstr+ " " +strarr[i];
Console.WriteLine(newstr.Trim());
}