Please help me with the task: Access checker.

Hello, I’m working on this task:

Write a program that reads the user’s name. If, and only if, it is “Ritchie”, output to the console “Access granted”.

Here is my code:


name = int(input("user's name"))
name = input()
if(name=="Ritchie"):
   print("Access granted")

Can anyone please help me to solve it?