Help me in solving FOODCOST problem

My issue

Please check my code and let me know my mistakes, please

My code

X, Y = map(int, input().split()) 


if 1<=X<Y<=1000:
    Weekly_Cost = (X*6)+Y
    print("Weekly Cost is: ", Weekly_Cost)
else:
    print("Invalid input. Please make sure 1 ≤ X < Y ≤ 1000.")


Problem Link: Food Costs Practice Coding Problem - CodeChef