题号:NC51079
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld
题目描述
In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And here is the question: Suppose we have a matrix called 233 matrix. In the first line, it would be 233, 2333, 23333... (it means
) Besides, in 233 matrix, we got 
. Now you have known a1,0,a2,0,...,an,0, could you tell me an,m in the 233 matrix?
输入描述:
There are multiple test cases. Please process till EOF.
For each case, the first line contains two postive integers n,m
. The second line contains n integers,
.
输出描述:
For each case, output 
示例1
输入
复制
1 1
1
2 2
0 0
3 7
23 47 16