use crate::Solution;
use malachite::Natural;
use malachite::base::num::arithmetic::traits::Factorial;
problem!(Problem0015, 15, "Lattice Paths");
impl Solution for Problem0015 {
fn solve(&self) -> String {
let fact40 = Natural::factorial(40);
let fact20 = Natural::factorial(20);
(fact40 / &fact20 / &fact20).to_string()
}
}