In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'j', 6497, 5631, 4347, 'n', 8425, 4185, 3229, 'A', 4925, 3287, 6781, 'O', 'j', 'r', 'i', '7367', '7817', '4901', '8347', '5207', '5771', 'O', '6577', 'q', '6771', 'E', 'T', '9603', '6231', '4929', '2861', '3557', '4117', '3261', 'o', 5569, 4561, 'r', 6859, 4521, 493], [6955, 3515, 4547, 'O', 'w', 1121, 2801, 9133, 5943, 'O', 'e', 505, 3121, 'P', 473, '7367', '7817', '4901', '8347', '5207', '5771', 'O', '6577', 'q', '6771', 'E', 'T', '9603', '6231', '4929', '2861', '3557', '4117', '3261', 'e', 1805, 'u', 4931, 'D', 'j', 'V', 1621, 'l', 5053, 'i', 2625, 7295, 'h', 'M', 'T']