In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]