PascalABC.NET
begin
Print(SeqGen(10, i -> i * i, 1).Sum + SeqGen(12, i -> i * i * i, 1).Sum)
end.
6469
PascalABC.NET
begin
Print(SeqGen(10, i -> i * i, 1).Sum + SeqGen(12, i -> i * i * i, 1).Sum)
end.
6469