In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 1639, 'c', 'k', 'W', 'm', 'J', 2937, 823, 'a', 'y', 'r', 'x', 173, 6477, 'B', 't', 'm', 8823, 'f', 4789, 'E', 8845, 'A', '1771', '1261', 'q', 'w', 'C', 't', '4923', 'D', 'N', 'c', 'v', 'O', 'q', '7401', 'k', '3491', '5313', '7477', 'q', 'c', 'w', '5179', 'F', 'X', 4355, 6217, 'H', 'w', 2785, 7099, 'x', 'p', 'c', 3125, 'L', 'b', 4743, 'l', 'S', 'S'], [2593, 5101, 's', 'g', 'e', 'e', 7149, 'E', 6725, 'k', 'A', 4601, 9693, 'B', 'A', '1771', '1261', 'q', 'w', 'C', 't', '4923', 'D', 'N', 'c', 'v', 'O', 'q', '7401', 'k', '3491', '5313', '7477', 'q', 'c', 'w', '5179', 'o', 'G', 'N']