// Celsius ---> Fahrenheit
import java.lang.*;
import java.io.*;
public class Fahrenheit
{
public static void main(String[] args) throws IOException
{
double fahrenheit;
double celsius;
System.out.print("Temperature in Celsius: ");
// keyboard
BufferedReader bReader = new BufferedReader (
new InputStreamReader(System.in));
String cStr = bReader.readLine();
celsius = Double.parseDouble(cStr);
fahrenheit = (celsius * 9.0 / 5.0) + 32;
System.out.println(celsius + " Grad Celsius");
System.out.println(fahrenheit + " Grad Fahrenheit");
}
}