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

Example Input: ['G', 'E', 'A', 'u', 'x', 'W', 'o', 'e', 'i', 'B', 3441, 'S', 8211, 'E', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'a', 9789, 4073, 'J', 'C', 8849, 6749, 'G', 5237, 9697, 1425, 'J', 5755], ['W', 'S', 'V', 'r', 'd', 'v', 7267, 7665, 'c', 3763, 'Z', 7427, 4575, 'D', 'q', 'U', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'z', 4797]
Example Output: 5913, 4807, 8365, v, 5383, V, M, i, I, J, 1475, 3385, r, 9983, U, i

Example Input: [641, 'S', 'X', 'z', 4889, 5577, 'f', 'K', 4151, 'I', 3883, 511, 'y', 7333, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'q', 7115, 8237, 'G', 'F', 'j', 2437, 7631, 9983, 'Z'], ['j', 7931, 'e', 1833, 'O', 'T', 'L', 2669, 'V', 'e', 'r', 8177, 'A', 'k', 'K', 'l', 5879, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'c', 'i', 'k', 9469, 4459, 'N', 'q']
Example Output: 125, 933, A, 4571, V, 9597, T, S, 5519, g, z, m, O, t, T, 7241, n, x, 6943

Example Input: [9885, 'o', 5887, 2179, 3705, 'J', 'h', 'h', 653, 2331, 'P', '4217', 'W', '3979', 'e', '3549', '1933', '585', '9525', 'O', 'V', 'a', 'R'], ['A', 5259, 'q', 'W', 2793, 'x', 'T', 's', 'P', '4217', 'W', '3979', 'e', '3549', '1933', '585', '9525', 'O', 'U', 3211, 851, 3405, 'D', 191, 'i', 't']
Example Output:
P, 4217, W, 3979, e, 3549, 1933, 585, 9525, O