$/=$";print 3-grep/2[345]/,<>..<>