In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8439, 'B', 9023, 7229, 'i', 735, 'I', 'Z', 'y', 3383, 'G', '8959', 'X', 'N', '8157', '9027', '6749', 'N', '4833', '8967', '5877', '5341', 'i', '2733', 'Q', 'u', 'B', 1031], [9949, 'k', '8959', 'X', 'N', '8157', '9027', '6749', 'N', '4833', '8967', '5877', '5341', 'i', '2733', 'Q', 'u', 'M', 'X', 'D', 'P', 8805, 'F', 'u', 8779, 7097]