in reply to Iterating through file to find specific subsets of lines

What ouput do you expect for the following input?
1 1 2 49 3 1

Sorry, did not understand the question.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ