In an A.P., the first term is 22 and the nth term is -11. If the sum to first n terms is 66, then what is the value of n?