Identifies the first and last sevens in a list of entered numbers