I\'ve seen some questions on SO that had a similar phrasing. But I think this task is more constrained, so maybe it is less difficult to achieve \'reasonable\' results.