if __name__=="__main__":    
    while True:
        a=int(input())
        if a!=2002:
            print ("Senha Invalida")
        else:
            print ("Acesso Permitido")
            break
        
