Test passes if the rightmost character of the line that starts with “a” is under the number 5.

123456
aaaa