import java.util.Arrays; import java.util.Scanner; public class Main58 { public static void main(String[] args) { Main58 p = new Main58(); } public Main58() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); solve(n, k); } public void solve(int n, int K) { int[][] tdp = new int[n+1][n*6+1]; int[][] jdp = new int[n+1][n*6+1]; tdp[0][0] = 1; jdp[0][0] = 1; for(int i=0;i=0;k--){ if(i=0;k--) jdp[i+1][j+1+k] += jdp[i][k]; } } // System.out.println(Arrays.toString(tdp[n])); // System.out.println(Arrays.toString(jdp[n])); long jsum = 0; long count = 0; for(int i=1;i