In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[537, 'E', 'f', 'q', 'm', 'n', 'm', 8923, 1269, 'B', 5331, 767, 235, 1309, 'i', 2873, 2223, '7877', 's', 'x', '9655', 'k', 'v', 'b', '2769', 'u', 'i', '5983', 'w', '2703', 's', 'g', '59', 'N', '7121', '1171', 'i', 'a', 'e', 9839, 'B', 2473, 'a', 'V', 6031, 'x', 7533], [9565, 'h', 7501, 6385, '7877', 's', 'x', '9655', 'k', 'v', 'b', '2769', 'u', 'i', '5983', 'w', '2703', 's', 'g', '59', 'N', '7121', '1171', 'W', 2185, 'z', 'a', 'l', 'w', 'Q', 'J', 7635]