[SRM572] NextOrPrev by Kaiyang Lv