Rosetta Problems

Sum of Last Digits

https://onlinejudge.u-aizu.ac.jp/problems/1534