Module a

Expand description

ยงABC 351 A - The bottom of the ninth

refs: https://atcoder.jp/contests/abc351/tasks/abc351_a

use proconio::input;

fn main() {
    input! {
        a: [usize; 9],
        b: [usize; 8],
    }

    println!("{}", a.iter().sum::<usize>() - b.iter().sum::<usize>() + 1);
}