A painter mixes paint A and paint B to get the desired composition of pigments X, Y, and Z. The painter requires at least 10 units of pigment X, 15 units of pigment Y, and 20 units of pigment Z. Both paints come as a 1 kg mixture with the following composition:
| Paint | Pigment X | Pigment Y | Pigment Z |
| A | 1 | 1 | 2 |
| B | 1.5 | 1.5 | 1 |
A kg of paints A and B cost and respectively. Let and represent the units of paints A and B respectively, that the painter should buy.
Find the values of and that minimize cost for the painter.
Output format:
Suppose the value of and , you should enter:
2.3 2