Check year inputs