In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'X', 'h', 3513, 'x', 'N', 9299, 3619, 3897, 7341, 'i', 'd', 5183, 'l', 4873, 2597, 'Q', '4491', '6035', '465', 'w', '2447', '3955', 'i', '753', '549', 'y', 'X', '7337', '8369', 'Q', 'T', 'A', 'K', '1847', 'K', '3849', 'D', 'b', 1881, 'D', 9279, 5019, 6245, 'p', 7797, 5501, 'M'], [2525, 1677, 'w', 'w', 'c', 'O', 'Z', 't', 3943, 5583, 'n', 'y', 'A', 3281, 'k', 'L', 8141, 5839, 'f', 4527, 9385, 'Q', '4491', '6035', '465', 'w', '2447', '3955', 'i', '753', '549', 'y', 'X', '7337', '8369', 'Q', 'T', 'A', 'K', '1847', 'K', '3849', 'Q', 'R', 'b']