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