fn f0() -> int { return 0; } println f0(); // out: 0 fn f1(a:int) -> int { return a; } println f1(1); // out: 1 fn f2(a:int, b:int) -> int { return a + b; } println f2(1, 2); // out: 3 fn f3(a:int, b:int, c:int) -> int { return a + b + c; } println f3(1, 2, 3); // out: 6 // fn f4(a:int, b:int, c:int, d:int) -> int { return a + b + c + d; } println f4(1, 2, 3, 4); // out: 10 // fn f5(a:int, b:int, c:int, d:int, e:int) -> int { return a + b + c + d + e; } println f5(1, 2, 3, 4, 5); // out: 15 // fn f6(a:int, b:int, c:int, d:int, e:int, f:int) -> int { return a + b + c + d + e + f; } println f6(1, 2, 3, 4, 5, 6); // out: 21 // fn f7(a:int, b:int, c:int, d:int, e:int, f:int, g:int) -> int { return a + b + c + d + e + f + g; } println f7(1, 2, 3, 4, 5, 6, 7); // out: 28 // fn f8(a:int, b:int, c:int, d:int, e:int, f:int, g:int, h:int) -> int { return a + b + c + d + e + f + g + h; } println f8(1, 2, 3, 4, 5, 6, 7, 8); // out: 36