Below is my sample file (Two columns separated by tab): 

```
A:Q08465 "\t" B-60323N

B-60323N "\t" A:P38806

A:P50947 "\t" B-60323N

A:P54784 "\t" A:P29469

A:P29469 "\t" A:P32833

A:P29469 "\t" A:P50874

```

I need to obtain the Id pairs represented by letter A only in a tab delimited format.

eg. 

```
P54784 P29469

P29469 P32833

P29469 P50874

```

Any suggestions Please.