The integers from 0 to 9 are given. Read the numbers until the first three consecutive numbers appear.
Each line contains one digit 0, 1, 2, ..., 9.
Print the number of readings until the first three consecutive numbers appear.