I started learing python this month. I am a beginner so I am having problems with changing month name to numbers. I tried using `if` command but it does not work. 

The code that I use is: 

```
d = int(input())
m = input()
y = int(input())
a = y - 1900

if m == january:
    x = 1

print(f'It is {d} days, {x} months and {a} years at {d m y}.')

```

But it does not work and the program shows me that name `january` is not defined. How can I change name of months to numbers?