In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 1271, 9917, 8659, 3815, 2957, 'c', 5621, 3257, 5241, 'a', 'N', 6491, 4957, 'k', 6171, 'R', 8011, 'V', 'f', 'l', 'Y', 'L', 4791, 'c', 'y', 'e', '6511', '6287', '5761', '9165', '8421', '9667', '5509', '3325', 'N', '3031', 'm', 'k', 'r', '7973', '5789', 'z', '8315', 'O', 'r', 'r', '2119', 'o', 'O', 'N', '9289', 'N', '2921', '6325', 'N', 4573, 'E'], ['C', 'm', 3499, 7311, 7053, 2133, 545, 'N', 4819, 'k', 1825, 'e', 'S', 4339, 6963, 9371, 'y', 'e', '6511', '6287', '5761', '9165', '8421', '9667', '5509', '3325', 'N', '3031', 'm', 'k', 'r', '7973', '5789', 'z', '8315', 'O', 'r', 'r', '2119', 'o', 'O', 'N', '9289', 'N', '2921', '6325', 'e', 'x', 'q', 'h', 's', 6541, 7857, 'g', 'u']