In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and 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:
['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']

Ex Output:
I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327


Ex Input:
[7805, 'T', 5227, '9723', '8775', '1701', 'g', '181', 'r', 'M', 'h', 'z'], ['C', 'x', '9723', '8775', '1701', 'g', '181', 'r', 'P', 'B']

Ex Output:

9723, 8775, 1701, g, 181, r