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

Ex Input:
[4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']

Ex Output:
4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031

Ex Input:
['n', 'D', 'w', 3835, 'T', 'B', 677, 'V', 'K', 'C', 2925, 'K', 'm', 1053, 'f', 4037, 7659, '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'g', 9107, 'A', 'T', 'W', 'A', 'j', 'f', 'v', 9021, 'j', 't', 'B', 8145, 'H', 3749], [949, 5165, 1491, 2995, 6041, 'd', 8225, 3907, 483, 7773, 'E', 105, 4839, 4595, 'y', 10009, 'M', 2851, 9681, 5135, 9105, 4887, 9939, 'N', 'k', 'h', '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'R', 'E', 'x', 6219, 7421, 'y', 4757, 9359, 'P', 5909, 7819, 3069, 6985, 9497, 2897, 5345, 8961, 3143, 9975]

Ex Output:
65, 9985, 867, F, 8953, t, Q, 4985, G, 4695, 1083, 6045, 1075, 5633, 8053, 1711, W, n, N, x, P, g, Y, j, 6411, x, n, 8627, y

Ex Input:
[9059, 'f', 8359, 'S', 4935, 'N', 8905, 8129, 'w', 3791, 'Q', 1667, 'N', 'W', 557, 3655, 'F', 4981, 21, '9617', '5821', '1297', 'A', 'H', '1737', '9503', '7181', '1369', 'K', 'q', 'p', '3885', '2505', 'M', 'r', 's', '9061', 'V', 's', 'd', 'm', 'Q', 'z', 'O', 6987, 437, 9967], ['L', 2213, 'p', 1893, 'j', 8675, 'M', 6491, 8257, 'h', '9617', '5821', '1297', 'A', 'H', '1737', '9503', '7181', '1369', 'K', 'q', 'p', '3885', '2505', 'M', 'r', 's', '9061', 'V', 'h', 'M', 8973, 4349, 'B', 'Q', 'z', 3423, 'K', 1259, 'Z']

Ex Output:
9617, 5821, 1297, A, H, 1737, 9503, 7181, 1369, K, q, p, 3885, 2505, M, r, s, 9061, V