In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4943, 'X', 3477, 2735, 3659, 4809, 4707, 1033, 'P', '2743', 'M', '5817', 'n', '7669', 'f', '4413', 'G', 'N', 'z', 'Y', 753, 223, 't', 5239], ['N', 5715, 4529, 2189, 'B', 'k', 465, 2561, 'P', '2743', 'M', '5817', 'n', '7669', 'f', '4413', 'G', 'b', 'u', 1229, 'O']