There are 4 possible total outcomes for the first and last flip:
|A| = 2
$Pr(A) = \frac{2}{4} = \frac{1}{2}$