输入 n 个整数,输出首尾两个数的和。
第一行输入 n。 第二行输入 n 个整数。
输出首尾两个数的和。
4 1 2 3 4
5
1≤n≤100
使用您的 www.mathcoding.online 通用账户