Problem Description
Sample Input3-1 2 22 -1 22 2 -13-1 1 21 -1 22 2 -1
Sample OutputYES-1 1 11 -1 11 1 -1NO