In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7117, 1809, 'S', 'q', 'k', '831', '7441', 'o', 'u', '7289', 'z', 'S', 9983, 5651, 'R'], [8243, 'i', 'h', 'N', 'm', 'q', 'k', '831', '7441', 'o', 'u', '7289', 'E', 'N']