In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'p', 'J', 'P', 1619, 7967, 'H', 'a', 2045, 4811, 'Q', 'n', 1637, 6619, 5005, '4635', '1619', '8349', '6465', '5895', 'D', 'J', 'd', 't', 's', '1975', '1885', '4345', 'd', 'y', 'r', '7705', '87', '2409', '563', '9931', '3021', '5391', 't', '5929', '9733', '5703', '5319', 'D', 'g', 'b', 3677, 'd', 3679, 6967, 'q', 4741, 'S', 'X', 'q', 6073, 7911, 9043, 579, 'W', 'L', 'j', 7865, 'e', 'e', 'p', 5165, 'Q', 'G'], [3943, 'y', 5727, '4635', '1619', '8349', '6465', '5895', 'D', 'J', 'd', 't', 's', '1975', '1885', '4345', 'd', 'y', 'r', '7705', '87', '2409', '563', '9931', '3021', '5391', 't', '5929', '9733', '5703', '5319', 'D', 'g', 'f', 'M', 'z', 'K', 2345, 'r', 'F', 3531, 6605, 9409, 'C', 'I', 'O', 8723, 3213, 'p', 1895, 'm']