In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5121, 't', 'E', 'U', 'c', 4699, 8011, 3801, 4385, 909, 6765, 2307, 'X', 'q', 4907, 'Q', 'w', '545', '951', 'k', 's', '6863', 'i', '297', '5643', '6773', 'Z', '2221', 'N', 'o', 'c', 'I', 'r', 'Z', 9663], [3571, 'U', 'e', 6281, 5213, 'g', 1487, 7093, 2257, 'q', 2803, 1771, 8613, 'Q', 'w', '545', '951', 'k', 's', '6863', 'i', '297', '5643', '6773', 'Z', '2221', 'N', 'o', 'c', 'I', 'i', 9739, 7951, 4315, 9701, 'K', 7471, 'O']