Help me in solving LID9 problem

Problem Link: CodeChef: Practical coding for everyone
Learning course: Learn Python

My code

x = {"Ram":24,"Rahul":12,"Karan":18}
y = x.get("Ram")
f = x.get("Karan")
print(f)
print(y)

My issue

i can’t get my output when the conditions right

For variable y, you have to get the roll number of “Rahul”.
Also you are printing f then y. But you have to print y first and then f.