In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 8343, 363, 3613, 2977, 'U', 'h', 1837, 5385, 1313, 'c', 4113, 'f', 'D', 4275, 'x', 's', 4201, 2421, '7157', 't', '4905', 'f', 'Q', '659', 'k', '6769', 'o', 'H', 'f', '7133', '3173', '5463', 'A', '2465', 'N', 'h', 'V', 'M', '9509', 'f', '7503', 'c', 'b', 1249, 7281, 'Y', 'S', 5513, 1709, 'x', 'W', 6629, 2379, 'o', 4837, 8575, 'V', 5461, 1183, 'O', 3895, 'U', 'O'], ['E', 359, 9023, '7157', 't', '4905', 'f', 'Q', '659', 'k', '6769', 'o', 'H', 'f', '7133', '3173', '5463', 'A', '2465', 'N', 'h', 'V', 'M', '9509', 'f', '7503', 'c', 'q', 't', 'H', 'Z', 'g', 1037, 's', 'b', 4821, 'd', 'v', 'H', 'X', 'O', 1947, 4553]