In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'J', 7783, 'P', 'U', 'e', 'q', '2059', '4377', 'M', '2515', 'D', 'u', 'v', '4957', '1917', 'O', '3401', 'X', '4073', '5473', 'H', '8561', '1833', 'O', 5257, 7691, 8601, 'h', 6821, 777, 3147, 'n', 6369, 5065, 827, 'T', 4743, 6131], [7703, 9671, 'o', 'e', 'n', 2479, 'r', 'Q', 2879, 9191, 9393, 'p', 'q', 'Z', 'y', 'e', 'q', '2059', '4377', 'M', '2515', 'D', 'u', 'v', '4957', '1917', 'O', '3401', 'X', '4073', '5473', 'H', '8561', '1833', 'm', 'C', 8123, 19, 'e', 6961, 6865, 'F', 'V', 'f', 'E', 3973, 'i']