In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5475, 9743, 'X', 8965, 'i', 671, 'x', 6559, 9927, 8467, 4735, 'y', 's', 5201, 739, 2973, 3723, 'F', 2459, '613', '1019', '1733', 'B', '2619', '5141', 'U', 'p', 'u', 'A', 'u', '3479', 'e', 'n', 'd', '261', 'r', '1421', '6905', 'D', '8709', 'd', '3983', 'Q', '5821', '7613', '2569', 'K', '7563', 's', 'h', 't', 5649, 'G', 'v', 9703, 877], ['A', 'q', 'o', 3721, 9765, '613', '1019', '1733', 'B', '2619', '5141', 'U', 'p', 'u', 'A', 'u', '3479', 'e', 'n', 'd', '261', 'r', '1421', '6905', 'D', '8709', 'd', '3983', 'Q', '5821', '7613', '2569', 'K', '7563', 's', 'O', 8785, 6423, 'W', 9215, 8903, 3045]