Rosetta Problems

Repeated Substitution with Sed

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