import java.util.Scanner; public class Test { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) { long[] m = new long[10]; long n = sc.nextLong(); for(int i = 1; i < 10; i++){ m[i] = n % 100; n /= 100; } for(int i = 1; i < 10; i++){ m[i-1] += m[i]*8; m[i] += m[i-1]/100; m[i-1] %= 100; } long a = 0; for(int i = 9; i > 0; i--){ a *= 100; a += m[i]; } System.out.print(a); if(m[0] > 0){ System.out.printf(".%02d",m[0]); } System.out.println(); } }