In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1419, 7, 5507, 3913, 'k', 'z', '6657', '817', 'G', '5839', '5885', 'n', '3685', 'b', '7375', 'S', 'p', 7449, 8117, 1619, 3173, 'w', 5493], [883, 8079, 2657, 8665, 7305, 'a', 7231, 9293, 'k', 'z', '6657', '817', 'G', '5839', '5885', 'n', '3685', 'b', '7375', 'S', 'A', 8287, 9719, 5919, 'p', 'e', 7975, 'B', 'O', 779, 'V']