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

Ex Input:
['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']

Ex Output:
O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S


Ex Input:
[395, 'n', 'w', 2771, 'E', 'b', 't', 3169, 1467, 'U', 3777, 'E', 'v', 7179, 6343, 7867, 1145, 6015, 'z', 'b', 'n', 681, 6517, 'c', 'z', 2275, 3123, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'I', 'W', 5819, 'E', 8891, 'v', 'x', 1871, 'd', 1279, 7007], ['b', 'K', 4685, 9075, 3699, 3283, 3619, 4061, 't', 1445, 'Y', 'a', 'p', 'm', 5807, 7723, 'X', 'R', 'u', 'j', 6005, 6139, 4653, 283, 4471, 'Z', 'n', 5021, 1519, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'n', 7877, 4097, 'o', 'N', 7407, 'T', 'O', 6965, 8331, 'i', 5451, 'N', 'p', 'r', 7669, 8539, 'h', 'U', 8731, 4935]

Ex Output:
Q, q, m, A, 3931, 6189, Y, 5423, 2865, y, 9783, R, 7107, i, 1257, C, 6923, F, E, 2937, c, Y, j, 5731, P, L, M, 65, s


Ex Input:
[8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']

Ex Output:

X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301