This problem is in Contest(s) below:
Contest 1998:课堂练习