Am = [x 0 2 2 1 0]