In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5545, 6711, 4035, 7561, 689, 'S', 7555, 'S', 'N', 4225, 3557, 'j', 'H', 'g', 'D', 'C', 'R', 'j', '2575', 'F', 'n', 'M', 'x', 'X', 'd', '6617', '3549', '7691', 'c', '8939', 'h', 'I', '2843', '5939', '689', '6905', 'w', 'Y', 'x', 'm', 9483, 'l', 'j', 'f', 'k', 't', 'o', 'g', 's', 'H', 'Q', 4823, 'd', 'I', 6107], ['O', 819, 873, 6567, 'C', 6287, 3313, 'h', 7577, '2575', 'F', 'n', 'M', 'x', 'X', 'd', '6617', '3549', '7691', 'c', '8939', 'h', 'I', '2843', '5939', '689', '6905', 'w', 'c', 2899, 3729, 'N', 5167, 6893, 'T', 'J', 6935, 5977, 1359, 4071, 'W', 'Q', 'j', 5275, 7051]