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

Example Input: [1527, 6311, 8927, 8605, 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'O', 2283, 'g', 5991, 'B', 'n', 3997, 'G', 8425, 5409, 4395], ['P', 9991, 8325, 'b', 'u', 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'J', 6627, 4667, 4387, 881, 8195, 'G']
Example Output: v, 3541, b, 9641, 1093, 2649, H, 3821, 4251, K, L, J, 5301, 9463, z, 1403

Example Input: ['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']
Example Output: 997, n, 631, 527, E, A, n, n, G, 1197, R, L

Example Input: ['H', 'X', 'Q', 'U', '3775', 'l', '725', 'D', '3327', 'Q', 's', 'e'], ['d', 2207, 'J', 4519, 'T', '3775', 'l', '725', 'D', '3327', 'P', 'x']
Example Output:
3775, l, 725, D, 3327