Գրեք սա: Ritt operators and convergence in the method of alternating projections