import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedList; import java.util.Scanner; import java.util.Set; import java.util.TreeSet; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int answer = 0; answer += 2; //1: 01, 10 answer += 3; //2: 02, 11, 20 answer += 4; //3: 03, 12, 21, 30 answer += 3; //4: 04, 13, 22, (31) answer += 3; //5: 05, 14, 23 answer += 3; //6: 06, 15, 27 answer += 3; //7: 07, 16, 25 answer += 3; //8: 08, 17, 26 answer += 3; //9: 09, 18, 27 answer += 2; //10: 19, 28 answer += 1; //11: 29 answer += 0; //12: System.out.println(answer); } }