Hi Shenoy u can do this...

Get one paper and write all the codes for the corresponding cards...
then you will see there is a relation between first card of all the set similarly for second card and third card for all the set...
Think big clue...
come on shenoy u can do this...

Thanks
Manoj