This problem is in Contest(s) below:
Contest 1010:H07
Contest 1014:C01