Study the given flow chart which is based on states of matter. Which of the following is correct regarding this?

| X | Y | Z | |
|---|---|---|---|
| A | Rubber ball | Ketchup | Water vapour |
| B | Water vapour | Rubber ball | Ketchup |
| C | Water vapour | Ketchup | Rubber ball |
| D | Ketchup | Water vapour | Rubber ball |