Be and distintict positive intergers. I must prove there's an interger and indices and with such that

I've been trying to prove this using Dirichlet's principle but I only got to a few results using all possible values for and considering the sets . I don't see it