In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'R', 169, '7167', '6619', 'X', '467', '883', '125', '7461', 'D', '9481', '1049', '5685', 'f', '6931', 'H', 'X', 'z', '4029', 'R', '6991', 'M', '6291', '2535', 'n', 'x', 'R', 'h', 'L', 9391, 'r', 'u', 9567, 'f', 'h', 9543, 'o', 'Z', 1425, 'i', 61, 3973, 4023, 6787], [2637, 7209, 'K', 'c', 'P', 'y', 'q', 2677, 'z', 6047, 'J', 8983, 'u', 2709, 9571, '7167', '6619', 'X', '467', '883', '125', '7461', 'D', '9481', '1049', '5685', 'f', '6931', 'H', 'X', 'z', '4029', 'R', '6991', 'M', '6291', '2535', 'n', 'x', 'R', 'x', 'n', 'O', 'q']