In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[771, 5853, 'S', 'l', 'y', 'F', 9007, 6319, 2225, 'v', 'L', 'N', '3595', 'S', 'F', 'S', '1499', 'g', 'n', '3647', '1601', 'b', '6359', '9123', 'k', '3017', '2349', 'm', '7223', 'g', '5717', '4371', 'K', 'l', 'z', '1039', '7683', '5855', 'q', 'd', 'l', 'O', 'B', 2755, 'Y', 183, 733, 'l', 7027], [2957, 4787, 5801, 'j', 'z', 'D', 'K', 'M', 8479, 3369, 6065, 4403, 'U', 'N', 'y', 'v', 'L', 'N', '3595', 'S', 'F', 'S', '1499', 'g', 'n', '3647', '1601', 'b', '6359', '9123', 'k', '3017', '2349', 'm', '7223', 'g', '5717', '4371', 'K', 'l', 'z', '1039', '7683', '5855', 'F', 5609, 'Q', 9969, 4729, 'P', 7341, 'a', 'S', 9925, 4075, 5527]