In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'S', 5627, 'r', 'r', 6443, 'f', '9307', 'o', '8811', '6761', '3339', '2941', '1699', 'e', '7767', '9279', 'X', 'E', '3137', 'J', 'C', '6129', 's', 'y', 'h', 'm', '1487', 'w', '7351', '1477', '9315', 't', 'q', 'Y', 'A', 'M', 'Y', 'A', 5431], ['t', 3845, 373, 'P', 1323, 'e', 4853, 4001, 9223, 2357, '9307', 'o', '8811', '6761', '3339', '2941', '1699', 'e', '7767', '9279', 'X', 'E', '3137', 'J', 'C', '6129', 's', 'y', 'h', 'm', '1487', 'w', '7351', '1477', '9315', 't', 'q', 'Y', 'A', 'O', 'h', 'C', 'R', 'h', 4529, 2083, 1635, 6145, 5049, 5199, 'h', 9233, 'v', 141, 'M', 8359, 'a', 8383, 2521]