8 6
1   1   0   0   0   0  # 0 <= x
1  -1   0   0   1   0  #      x <= N
1  -1   2   0   0   0  # \these three lines just form
1   1  -2   0   0   0  #  }the single constraint x = 2p
1  -1   2   0   0   1  # /
1  -1   0   3   0   2  # \  these three lines just form
1   1   0  -3   0   0  #  } the single constraint x = 3q
1  -1   0   3   0   0  # /
1 6
0   1  -2   0   0   0 # x = 2p

