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

Ex Input:
[9741, 'E', 4251, 8197, 'V', 'd', 'U', 'S', 'l', 4297, 9217, 'O', 6607, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'R', 'u', 587, 'r', 'i', 3977, 's', 'V', 'v', 215, 399, 's', 7561, 25, 3885, 1501, 'W', 7853, 'l', 5145, 'z'], [5441, 169, 9471, 'r', 'i', 7087, 'v', 't', 6273, 'k', 1041, 'd', 'Q', 2227, 5617, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'Z', 'b', 3671, 'y', 9829, 7849, 9049, 'T', 8407, 'M', 'B', 'N', 7837, 2963, 7385, 'K', 8717, 'j', 3621, 75, 'E']

Ex Output:
2517, G, y, a, F, 1035, 823, E, J, a, 3609, 7379, x, Y, M, 1893, O, 4875, z, B, c, 7147, u, 9477


Ex Input:
[7377, 1987, 'N', 'p', 't', '2929', '9983', '7321', '9193', 'B', 'V', '1733', 'o', 'T', 8071, 9433, 'n', 'U'], ['q', 'g', 5683, 6497, 'q', 7587, 'u', 8819, 'T', 'c', 'N', 'p', 't', '2929', '9983', '7321', '9193', 'B', 'V', '1733', 'Q', 7419, 'W', 'p', 2765, 5831]

Ex Output:
N, p, t, 2929, 9983, 7321, 9193, B, V, 1733


Ex Input:
['Z', 7333, 73, 'U', 'a', '4439', '4117', 'n', '9489', '2269', '6585', '4247', 'z', 'T', '3327', 'j', 'm', 'l', '1151', 'F', 't', 'O', 'w', '5173', 'K', 'k', '1287', 'x', 'C', 'C', 'k', 'j', 'm'], ['c', 1333, 'g', 'N', 'G', 'F', 7701, 'J', 4693, 1313, 8627, 9523, 'u', 'L', 't', 'u', 'I', 5741, 6827, 'a', 'Z', 7869, 6457, 'a', '4439', '4117', 'n', '9489', '2269', '6585', '4247', 'z', 'T', '3327', 'j', 'm', 'l', '1151', 'F', 't', 'O', 'w', '5173', 'K', 'k', '1287', 'x', 'C', 'F', 647, 8557, 5559, 3649, 'n', 6213, 'Q', 'X', 9211, 1349, 't', 6987, 8581, 2135, 9681, 3151, 6501, 1821, 'S', 5691]

Ex Output:

a, 4439, 4117, n, 9489, 2269, 6585, 4247, z, T, 3327, j, m, l, 1151, F, t, O, w, 5173, K, k, 1287, x, C