In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 'A', 'N', 639, 'K', 'm', 'S', 'd', 'k', 'J', 'I', 'q', '275', '6367', 'S', '261', 'G', 'K', '4975', '6645', '5587', 'x', 'y', 'b', 'U', 'x', 'P', '1057', '6247', 'D', 'T', '1039', '3115', '5293', 'n', 'G', 'q', 'p', 'F', 'g', 7907, 379, 'Y', 3453], ['H', 5895, 'g', '275', '6367', 'S', '261', 'G', 'K', '4975', '6645', '5587', 'x', 'y', 'b', 'U', 'x', 'P', '1057', '6247', 'D', 'T', '1039', '3115', '5293', 'n', 'c', 1779, 7207, 3901, 'j', 'g', 'Y', 6327, 3833, 8931, 1329, 'N', 8189, 955, 'N', 9237, 'w', 3535, 'o', 'w', 8143]