In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
Example Output: 5181, q, c, W, r

Example Input: ['u', 'r', 849, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'p', 'T', 'z', 'q', 'I', 435, 'f', 5345, 7911, 'A', 4969, 'Z', 'z', 'g', 'F', 'j', 'p', 8691, 'W', 'g'], ['O', 'A', 'Y', 7777, 1037, 637, 'X', 3059, 1375, 1443, 1615, 9593, 'D', 'R', 'S', 'M', 5927, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'Q', 'Y', 1371, 'M', 'Q', 1545, 4395, 'm', 'R', 6291, 'g', 'X', 5919, 'p', 'V', 'Y', 'N', 1117, 'U']
Example Output: R, F, T, 8517, n, W, 7945, 6371, l, S, G, 7431, x, b, B, 437, 9051, p, 465, u, R, p

Example Input: [1977, 9671, 7623, 559, 1797, 8361, 7897, '1111', 'e', '5639', 'c', 'v', '1989', 'E', '4725', 'B', 'K', 'r', 1587, 6735, 4963, 'v'], [2327, 301, 1415, 'n', '1111', 'e', '5639', 'c', 'v', '1989', 'E', '4725', 'B', 'Z', 3063, 'r', 'd', 'Q']
Example Output:
1111, e, 5639, c, v, 1989, E, 4725, B