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

Ex Input:
['x', 'T', 'K', 'i', 935, 's', 209, 6485, 7803, 'Z', 'Q', 'H', 'u', '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'N', 'p', 9815, 'Q', 'u', 'U', 1559, 'Y', 'z', 'i', 3473, 's', 7251, 5303, 'k', 'u'], [9843, 'H', 3903, 6499, 'y', 'u', 'v', 'i', 'p', 8877, 27, 'Z', 6151, 5793, 'F', 'u', 'K', 'f', 'F', 8005, 'r', 4323, 2093, '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'O', 'u', 'J']

Ex Output:
5629, 7573, 4679, 73, 6729, 1943, Y, b, 1595, R, 1475, 9785, 3773, 4077, 2189, r, d, 9613, L, S, 6619, 9039, 7557, 999, F


Ex Input:
[6921, 9035, 1815, 'T', 7393, 6607, 'D', 'c', 293, 'U', 4409, 4737, 3515, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'o', 'a', 'M', 7035, 'v', 4907, 'l', 9767, 9189, 6353, 2883, 'F', 'x', 7665, 6801, 'x', 'J', 'G', 5361, 'f', 'Y', 'u', 'K', 'c', 1779, 1115], [587, 779, 525, 'i', 's', 4247, 5713, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'u', 4957, 'c', 'k', 5231, 'i', 'T', 'q', 'd']

Ex Output:
I, a, 839, q, n, 2571, 5999, L, k, 9745, 9023, 7365, C, 2893, n, 7783, E, 5071, Z, 3647, f, 7281, 8791, U, t, 3969, 2029, i


Ex Input:
['I', 'e', 263, 5227, 597, '3747', '4425', 'E', 'z', '983', '4273', '4101', 'Z', 'd', '761', 's', 'G', 1889, 'Y', 1243, 'k', 7593, 8189, 'P'], ['X', 4263, 'F', 'q', 'k', 'N', 'f', 'r', 177, '3747', '4425', 'E', 'z', '983', '4273', '4101', 'Z', 'd', '761', 'c', 6353, 465]

Ex Output:

3747, 4425, E, z, 983, 4273, 4101, Z, d, 761