Approximation by a sum of two algebras. The lightning bolt principle