
import java.util.Scanner;

public class InchesToCentimeters {
	public static void main(String[] args) {
		Scanner console = new Scanner(System.in);
		double inches = Double.parseDouble(console.nextLine());
		console.close();
		double cm = inches * 2.54;
		System.out.println(cm);
	}
}
