Read the entire line of input as a String. Then use a String method to break that single String into an array containing the years as individual Strings.