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

Ex Input:
[1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]

Ex Output:
5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B


Ex Input:
[9945, 'B', 'P', 1687, 1255, 'E', 769, 2539, 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'G', 'w', 'E', 'G'], [1097, 3119, 'V', 'i', 'v', 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'O', 7411, 'y', 'H', 7657, 2977, 'T', 'R', 265, 6097, 'g', 'a', 'R', 3391, 'd', 6175, 'm', 143, 4285, 5701, 2557, 'f']

Ex Output:
W, 9795, y, 1335, H, 999, 5451, V, 1087, e, H, 7027, 7313, v, 1101, j, Q, 2191, 8039, 1239, I, S, M, P, 4387, 4795, X, l


Ex Input:
['D', 73, 4229, 'y', 'L', 'I', 'b', '9379', '4841', '4297', '2109', 'B', 'x', '5821', '3663', 'c', '2675', 'r', 'Q', 'b', '9765', 'C', 7925, 7835, 9613], [9449, 'y', 'k', 8701, 'K', 'Y', 2935, 6499, 9741, 3851, 9791, 'I', 'b', '9379', '4841', '4297', '2109', 'B', 'x', '5821', '3663', 'c', '2675', 'r', 'Q', 'b', '9765', 'V', 8977, 'm']

Ex Output:

I, b, 9379, 4841, 4297, 2109, B, x, 5821, 3663, c, 2675, r, Q, b, 9765