Using jmp to solve questions