John purchased a toy for his young daughter. The toy included nine colorful plastic pieces in the shape of the numbers from 1 to 9. In examining these pieces he made the following observations:
One piece is purple and two pieces each are red, green, yellow, and blue.
The two red pieces are consecutive numbers.
The number 4 is green.
The two blue pieces are not consecutive numbers
Both the 1 and the 9 are yellow
The purple piece is not a number immediately greater than or less than either green piece