In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 5293, 8083, 'l', 'h', 'z', 'z', 8523, 'X', 3949, 8901, 'h', 'g', 8369, 2775, 'i', 's', 'O', 'd', 'h', '5371', 'v', '3935', '7421', 'd', 'Z', 'B', '8599', '4191', '9961', 'Z', 'o', 'C', 'a', 'O', 'b', '7945', 'L', 'e', 'a', 'w', 't', 6573, 's', 2249], [5797, 'n', 'H', 1123, 'i', 's', 'O', 'd', 'h', '5371', 'v', '3935', '7421', 'd', 'Z', 'B', '8599', '4191', '9961', 'Z', 'o', 'C', 'a', 'O', 'b', '7945', 'p', 'E', 'P', 'R', 'Z', 'G', 5959, 1975, 9121, 'G', 'q', 'i', 3739, 'e', 'y', 'T', 1215, 'r', 9759, 6597]