Added SPOJ's ACPC10A.