Choose the correct sentence which is built from the words and phrases given:
I / agree / wait / for / her / at / school gate / .
A. I agreed to wait for her at the school gate.
B. I agreed wait for her at the school gate.
C. I agreed to wait for her on the school gate.
D. I agreed waiting for her at the school gate.