As a starting point, your expected output highest value is 18.
Your counting only goes as high as 10. If you want the second value
of every even integer found - you need to change your increment...