Please be specific. Right now the code looks to see if any number in the array matches, which makes no sense. That's why you need to be specific. Do they need to match from index 0,1,2, or match the sequence anywhere in the array? Very different code.