When do the girls in Pretty Little Liars find out who A is?

The last episode of 2nd season :) that's the first A