public class ccc {
public static void main (String args[]){
java.util.Scanner sa=new java.util.Scanner(System.in);
String a = sa.nextLine();
java.util.Scanner sb=new java.util.Scanner(System.in);
String b = sb.nextLine();
int c=10;
System.out.println(((Integer.valueOf(a)+Integer.valueOf(b))*c);
}
}
public class ccc {
public static void main (String args[]){
java.util.Scanner sin=new java.util.Scanner(System.in);
int a=10;
int b=5;
String c = sin.nextLine();
System.out.println((a+b)*Integer.valueOf(c));
}
}