Գրեք սա: A Talenti-type comparison theorem for RCD(K, N) spaces and applications