Hint



Test
1
2
3
Cat
Apple
Water
Cat
Apple
Water
Cat
Apple
Water
2
3
4