using System;
using System.Linq;
public class Program
{
public static void Main()
String str = "one two three four";
String res = String.Join(" ", str.Split(' ').Select(x => new String(x.Reverse().ToArray())));
Console.WriteLine(res);
}