public static class Solution {
public static void Main() {
input = Console.ReadLine();
BigInteger m = BigInteger.Parse(input.Split(' ')[0]);
BigInteger n = BigInteger.Parse(input.Split(' ')[1]);
Console.Write("{0}", fn2(m, n));
private static BigInteger fn2(BigInteger m, BigInteger n) {
return factorial(m + n - 1) / (factorial(n - 1) * factorial(m));
private static BigInteger factorial(BigInteger number) {
for (BigInteger i = 1; i <= number; i++) {