In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5857, 3419, 7729, 'I', 5987, 'r', 6339, 'w', 7591, 2943, 'q', 'R', 'S', 'X', '473', 'F', '2379', '4759', 'o', '3333', 't', 'F', 'O', '3395', 'J', '5853', '3909', '9537', '3875', '5273', '3325', 'P', 'R', 'b', '7549', 'd', 'J', '4045', '1917', 'V', 'k', 9699, 125, 2101, 'L', 'I', 763, 'x', 'j'], ['m', 4399, 'G', 'h', 'O', 6837, 't', 8451, 'J', 9203, 'N', 'c', 'y', 'F', 'i', 4831, 9045, 'W', 5423, 7213, 6079, 4017, 8411, 'S', 'X', '473', 'F', '2379', '4759', 'o', '3333', 't', 'F', 'O', '3395', 'J', '5853', '3909', '9537', '3875', '5273', '3325', 'P', 'R', 'b', '7549', 'd', 'J', '4045', '1917', 'R', 7027, 5913, 3199, 'S', 4493, 'p']