P [0] = 0 P [1] = 3 P [2] = 2 P [3] = 4 P [4] = 1