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

Example Input: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']
Example Output: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749

Example Input: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]
Example Output: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331

Example Input: ['N', 3079, 'c', 'L', 'm', 't', 'L', 9463, '319', '3725', '787', '2131', 'Z', 'e', '4231', '6585', '4811', '3789', 'i', 'K', 'K', 'e', 'N', 17, 'H', 'A', 'b', 7277, 5401], ['O', 7425, 'v', 'l', 'Y', 't', 'o', 'w', 't', 415, '319', '3725', '787', '2131', 'Z', 'e', '4231', '6585', '4811', '3789', 'i', 'K', 'K', 'e', 'i', 'n', 8443, 261, 6449, 5075]
Example Output:
319, 3725, 787, 2131, Z, e, 4231, 6585, 4811, 3789, i, K, K, e