The pages of a book are numbered 0, 1, 2,…P, P >0. There are four categories of instructions that direct a person in positioning the pages in the book. The instruction types with their meanings are given below:
i. Open Position of the book at page number 1.
ii. Close Position of the book at page number 0.
iii. Forward, n From the current page, move forward by n pages. If, in this process, page number P is reached, stop at P.
iv. Backward, n From the current page, move backward by n pages. If, in this process, page number 0 is reached, stop at page number 0.
In each of the following questions, you will find a sequence of instructions. Let p1 be the page number before the instructions are given and p2 be the page number after executing all the instructions given.
Forward, 15; Forward, 15. Which of the following statements is true?