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

Example Input: ['Q', 'I', 't', 'b', 9175, 2827, 'P', 'v', 8293, 'c', 1863, 'J', 's', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'i', 9597, 4909, 'J'], ['S', 'a', 9123, 'I', 'F', 'z', 3481, 4235, 'X', 'I', 6447, 6365, 'T', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'Q', 'R', 'W', 'm', 719, 'A', 'h', 3093, 'O', 8221, 9879, 'W', 6953, 8729, 2853, 3651, 'X', 2079, 4499, 'Q', 7143]
Example Output: 6749, 5147, e, O, 8605, 613, 7647, 5691, v, 2303, 7061, 1091, 8563, T, 511, U, 8991, 231, f, 8793, 2147, 6075, p

Example Input: ['i', 6169, 'H', 'j', '1043', 'q', 'N', 's', '1551', 'h', '6295', 'k', '483', 'P', 'J', '3109', '5891', '4833', '2077', '9181', '5315', 'q', '3105', '1485', 'l', '6357', '263', '1909', '3831', '2687', 'Y', 'b', 3307, 1253, 'd', 4153, 5165, 'X', 'Y', 'p', 'k', 's', 4017, 'e', 4835, 'o', 'm', 's', 'W', 1065, 'w', 3035, 1293], ['T', 'O', 'W', 1109, 7427, 'm', 'j', '1043', 'q', 'N', 's', '1551', 'h', '6295', 'k', '483', 'P', 'J', '3109', '5891', '4833', '2077', '9181', '5315', 'q', '3105', '1485', 'l', '6357', '263', '1909', '3831', '2687', 'Y', 'o', 2219, 't', 1363, 1859, 'q', 'i', 'm', 5347, 2917, 5197, 'X', 'K', 1627, 'y', 'I', 8881, 5109, 1281]
Example Output: j, 1043, q, N, s, 1551, h, 6295, k, 483, P, J, 3109, 5891, 4833, 2077, 9181, 5315, q, 3105, 1485, l, 6357, 263, 1909, 3831, 2687, Y

Example Input: ['U', 'S', 1267, 4231, 4807, 399, '1801', 'Z', '1629', 'a', '1215', '5629', 'R', 'v', 'W', 'i', 2039, 5093, 'B', 'V', 1363, 8681, 8331, 6373], ['H', 3861, '1801', 'Z', '1629', 'a', '1215', '5629', 'R', 'v', 'W', 'M', 3513]
Example Output:
1801, Z, 1629, a, 1215, 5629, R, v, W