# Write a Person class that have a name and a birth_date property
# It should raise an error of the birthdate is less than 0 or more than 2016

class Person:

    def __init__(self, name, birth_date):
        self.name = name
        self.birth_date = birth_date
        if self.birth_date < 0 or self.birth_date > 2016:
            raise ValueError("You entered the wrong value") 
        
        
try: 
    student = Person("Peter", -1)
except ValueError:
    print('Value error in the input') 
    
    
    