In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6503, 'A', 'l', 'o', 'z', 1427, 'H', 'J', 'm', 5285, 9335, 'B', 'R', 'p', 'N', 849, 3999, 3177, 'Y', '7429', '8823', '8947', 'o', '7795', 'W', 'E', '1559', '4755', '7391', '8133', 'o', '6421', 'Y', 'e', 'W', 'N', 'D', 'n', 'U', 6709, 6049, 3903, 8975, 'S', 5957, 1805, 1401, 'g', 'P'], [4945, 4149, 'Y', '7429', '8823', '8947', 'o', '7795', 'W', 'E', '1559', '4755', '7391', '8133', 'o', '6421', 'Y', 'e', 'W', 'N', 'D', 'c', 'z', 2847, 'f', 9563, 'u', 609, 3609, 5557, 1813, 2721]