An output condition that may be treated as either 1 or 0 without affecting the operation is called don’t care condition.
When simplifying a logic expression using a K-map, a don’t care condition can be treated as a 1 if it contributes to the simplification and can be treated as 0 if it does not contribute to the simplification.