A patient needs at least 36 units of vitamin supplement A, at least 36 units of vitamin supplement B and at least 24 units of vitamin supplement C. Local brand capsules contain 2 units of A, 3 units of B and 1 unit of C costs P15, while foreign brand capsules contain 6 units of A, 3 units of B and 6 units of C costs P25. How many capsules should the patient take each day in order to minimize the cost?