import java.util.Scanner; public class pre { public static void main(String[] args) { Scanner s = new Scanner(System.in); double n = s.nextDouble(),k = s.nextDouble(),f = 50*n+(50*n)/(0.8+(0.2*k)); System.out.println((int)f); } }