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

Ex Input:
['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']

Ex Output:
8337, L, 4245, M, M, H, 4531, B, p, 6961


Ex Input:
['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']

Ex Output:
Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879


Ex Input:
[5473, 2823, 'M', 'e', 'F', 'x', 413, 'H', 'z', 1429, 6643, 8435, 'm', 'w', 'X', 'r', 'b', 'T', 't', '5139', '7781', 'H', 'q', 'a', 'N', '8587', 'z', '4937', '6935', '6245', '6899', '1423', 'c', '8019', 'F', 'A', '9359', '9893', '6439', '4283', 'k', '6507', 'D', 8297, 'y', 's', 8815, 147, 819, 4115, 'e', 765, 'f', 'f', 'Y'], ['l', 'w', 9927, 'w', 7257, 't', 'e', 'a', 2731, 'W', 'L', 'e', 'T', 'r', 'b', 'T', 't', '5139', '7781', 'H', 'q', 'a', 'N', '8587', 'z', '4937', '6935', '6245', '6899', '1423', 'c', '8019', 'F', 'A', '9359', '9893', '6439', '4283', 'k', '6507', 'c', 'C', 'm', 'W', 'k', 'h', 7123, 7051, 'z', 'A', 2025, 'K', 7189, 7313, 7659]

Ex Output:

r, b, T, t, 5139, 7781, H, q, a, N, 8587, z, 4937, 6935, 6245, 6899, 1423, c, 8019, F, A, 9359, 9893, 6439, 4283, k, 6507