Rosetta Problems

Common-Prime Sort

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