Solved Problem G ACM 2011