POJ 1258 Accepted 876K/141MS