The cost of $1000$ grams of chocolate is $x$ dollars and the cost of $1000$ grams of potatoes is $y$ dollars, the numbers $x$ and $y$ are positive integers and have not more than $2$ digits. Mother said to Maria to buy $200$ grams of chocolate and $1000$ grams of potatoes that cost exactly $N$ dollars. Maria got confused and bought $1000$ grams of chocolate and $200$ grams of potatoes that cost exactly $M$ dollars ($M >N$). It turned out that the numbers $M$ and $N$ have no more than two digits and are formed of the same digits but in a different order. Find $x$ and $y$.
Problem
Source:
Tags: number theory, systems of equations, Digits, Diophantine Equations, diophantine