In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4989, 7519, 6539, 'G', 't', 'D', 'u', 'K', 'K', 'm', 8985, 699, 'F', 2305, 7157, 'f', 7287, '5165', '7355', '7211', '3891', 'p', '7981', '4527', '895', 'Q', '4667', '6957', 'C', 'o', '2017', 'O', 'o', '7649', 'K', 'p', 9687, 4085, 'v', 'e', 8647, 8033, 'r', 1373], [6683, 'R', 4547, 'B', 3777, 'J', 7059, '5165', '7355', '7211', '3891', 'p', '7981', '4527', '895', 'Q', '4667', '6957', 'C', 'o', '2017', 'O', 'o', '7649', 'X', 901, 'r', 'G', 'O']