using System;
public class Program
{
public static void Main()
float c = Int32.Parse(Console.ReadLine());
Console.WriteLine( temperature(c) );
}
public static float temperature (float c)
return (c * 9 / 5 + 32);