A coin is tossed three times. If X denotes the absolute difference between the number of heads and the number of tails then P(X=1)=