import java.util.*; public class Point { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double b = sc.nextDouble(); System.out.println(a * 50 + ((50 * a) / (int)(0.8 + 0.2 * b))); } }