in reply to variables from STDIN

Maybe you want to know the _position_ of the first a, second a, etc? Otherwise it makes no sense.