In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6195, 6865, 'x', 'e', 'w', '1725', '1215', '7407', 'B', '799', '965', 'A', 'S', 'W', 't', '2707', 'k', 'l', 'm', '2339', 'S', 9657, 2681, 3041, 'N', 3211, 'J', 'F', 'b', 'h'], ['H', 'T', 'a', 4501, 'd', 1087, 9357, 319, 9029, 'Z', 9521, 8709, 'w', '1725', '1215', '7407', 'B', '799', '965', 'A', 'S', 'W', 't', '2707', 'k', 'l', 'm', '2339', 'K', 'f', 'c', 'O', 'm']