Economic geography

Country X can produce either 10 units of coffee or 5 units of machinery with its available resources. Country Y can produce either 6 units of coffee or 6 units of machinery. Which country has the comparative advantage in machinery?