If A and B each toss three coins. The probability that both get the same number of heads is
The probability that A gets r heads in three tosses of a coin is
The probability that A and B both get r heads in three tosses of a coin is
Hence, the required probability is