In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4905, 'l', 'o', 6877, 'Q', 'S', 3439, 'q', 'e', 'D', 'a', 5539, 'Q', 'a', '2805', '727', '1541', 'k', '8699', 's', '2425', 'Y', 'u', '2609', 'U', 'w', 1647, 'B', 'g', 4177, 3473, 'N'], [6067, 6819, 2517, 'Q', 'a', '2805', '727', '1541', 'k', '8699', 's', '2425', 'Y', 'u', '2609', 'X', 8437, 1187, 'b', 'k', 'i', 5617, 1289, 'B', 'E', 7699]