Distribution of Values of Rational Maps on the Fp-Points on an Affine Curve