In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 817, 3539, 'j', 'C', 'e', 4735, 8477, 2779, 3737, 8803, 5149, 'B', 'C', 'b', 'g', '2453', 'p', 'U', '8231', '2513', 'u', '1941', 'w', '183', 'U', 'P', 1545, 'A'], [3631, 'g', 'i', 'i', 'F', 'S', 8429, 'n', 4801, 3481, 8081, 'W', 'C', 'b', 'g', '2453', 'p', 'U', '8231', '2513', 'u', '1941', 'w', '183', 'U', 'n', 4941, 'q']