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