Two sets of infinitely many exceptional orthogonal polynomials related to the Wilson and Askey-Wilson polynomials are presented. They are derived as the eigenfunctions of shape invariant and thus exactly solvable quantum mechanical Hamiltonians, which are deformations of those for the Wilson and Askey-Wilson polynomials in terms of a degree l (l = 1, 2, . . .) eigenpolynomial. These polynomials...