In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 9801, 'N', 7509, 7095, 7623, 'S', '6945', '7265', 'B', '7977', 'U', 'c', '8083', 'E', 't', '4677', '2313', '8193', 'q', 'N', '9899', 'k', '4479', '3153', '1017', 'l', 4643, 'c', 2475, 'q', 'U', 'w', 'O', 8959, 'x', 'o', 7891, 'N', 'W', 3593, 'M', 'g', 'e', 'u'], [3387, 'u', 'Q', 9889, 'F', 1027, 17, 9913, 4949, 1849, 2225, 5237, 'v', 'T', 6559, 71, 'O', 5, 6615, '6945', '7265', 'B', '7977', 'U', 'c', '8083', 'E', 't', '4677', '2313', '8193', 'q', 'N', '9899', 'k', '4479', '3153', '1017', 'Q', 7051, 'i', 'h']