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

Example Input: [8271, 'H', 'n', 1303, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'z', 'H', 'Z', 'R', 'Z', 17], [6877, 4677, 'A', 623, 'g', 151, 'u', 5045, 1867, 'E', 'M', 1153, 237, 4623, 4963, 'B', 'M', 8311, 6637, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'd', 4251, 'F', 'O', 'J', 4171, 7565, 'F', 9551, 4139]
Example Output: P, Z, 8927, S, Z, e, 3463, 5487, w, H, 1071, q, 7193, 2751, 1963, I, H, F, 6399, 1589, 1063, T, 9211, w, 9069, 5757, 2431, G

Example Input: [387, 577, 'j', 7891, 'N', 'W', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'U', 'y', 'O', 1627, 5805, 8111], ['P', 'u', 'g', 'M', 6277, 'p', 'U', 'G', 211, 'o', 'd', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'B', 'j', 8827, 'A']
Example Output: V, n, A, 9835, 7109, 1637, 6825, J, 4143, a, 253, 2905, R, 1387, W, 4577

Example Input: ['M', 'u', 6437, 'q', 'V', '5093', 'F', 'I', 'E', '8417', 'N', 'I', 'n', 'k', 7249], [7865, 'a', 7475, '5093', 'F', 'I', 'E', '8417', 'J', 6851]
Example Output:
5093, F, I, E, 8417