In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 3771, 'G', 7747, 'R', 8255, 2663, 2415, 'c', 7553, 'x', 'Q', 3553, 2283, 'I', '5509', 'P', 'd', '2651', 'g', 'p', '8535', 'H', '7351', '5681', '4301', '9331', 'h', 'D', 'H', '4403', '4979', '5537', 'C', '5069', 'Q', '1715', '4505', 'y', 'f', 'a', 'C', 'M', 3167], [7739, 37, 6003, 'U', 'L', 3351, 'N', 'M', 357, 'Q', 637, 6215, 899, 3079, 'b', 'M', 'N', 7443, 'a', 'P', 'C', 6199, '5509', 'P', 'd', '2651', 'g', 'p', '8535', 'H', '7351', '5681', '4301', '9331', 'h', 'D', 'H', '4403', '4979', '5537', 'C', '5069', 'Q', '1715', '4505', 'y', 'f', 'D', 'J', 'L', 'w', 'U', 2255, 'U', 6787, 'd', 'I']