In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[461, 9023, 6551, 8979, 'o', 'I', '4863', 'X', '5925', 'G', 'P', '1099', 'N', '9393', '9381', '6805', 'w', '5193', 'g', '8835', 'H', '9911', 'k', 'j', '7247', 'O', '10015', 'L', 6337, 5447, 'i', 891, 'K', 6797, 1029, 7341, 'B', 'n', 3189, 3117, 7315, 'S', 5963], [6209, 1159, 161, 6901, 5419, 'i', '4863', 'X', '5925', 'G', 'P', '1099', 'N', '9393', '9381', '6805', 'w', '5193', 'g', '8835', 'H', '9911', 'k', 'j', '7247', 'O', '10015', 'I', 9833, 1737, 'G', 'r', 7015, 8719, 7357]