In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 6651, 5181, 'P', 'g', 2401, 4165, 7497, '7797', '5365', 'a', 'm', '2671', '271', '9297', '9521', '8877', '8271', 'O', '803', 'S', '4655', 'y', 'y', 9137, 2647, 7023, 1595, 1713, 'E', 2857, 569, 'Y', 'Q'], [3571, 6743, 2585, 'k', 'R', 's', '7797', '5365', 'a', 'm', '2671', '271', '9297', '9521', '8877', '8271', 'O', '803', 'S', '4655', 'y', 'X', 3923, 'g', 'b', 'E', 'P', 'F', 'F', 1195, 8909, 'B', 'C', 6695, 7165]