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

Ex Input:
[37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Ex Output:
4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u


Ex Input:
['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']

Ex Output:
e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B


Ex Input:
['e', 4637, 4335, 'I', 'S', 'F', 9643, 7227, 2951, 'S', 'C', 5653, 8703, 'M', 7579, 'h', 8321, 'Y', 'V', 'w', 5023, 'v', 293, 'a', 3491, '2893', '6665', '125', '9693', '6379', '5613', 'M', '1405', '3033', '8553', '8327', 'y', '6411', 'm', '4885', '5079', 'E', 'e', 'I', 'F', 'U', '7379', 'A', '7823', '9351', 'J', '9293', 'z', 'c', 'C'], [6215, 't', 'E', '2893', '6665', '125', '9693', '6379', '5613', 'M', '1405', '3033', '8553', '8327', 'y', '6411', 'm', '4885', '5079', 'E', 'e', 'I', 'F', 'U', '7379', 'A', '7823', '9351', 'J', '9293', 'z', 'G', 'i', 3803, 2383, 'x', 9219, 4863, 3901, 'o']

Ex Output:

2893, 6665, 125, 9693, 6379, 5613, M, 1405, 3033, 8553, 8327, y, 6411, m, 4885, 5079, E, e, I, F, U, 7379, A, 7823, 9351, J, 9293, z