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

Ex Input:
[9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']

Ex Output:
8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165


Ex Input:
[6559, 2255, 'n', '9599', '4415', 'B', 3911, 4867], ['A', 6419, 'n', '9599', '4415', 'T', 'n', 3281]

Ex Output:
n, 9599, 4415


Ex Input:
['J', 'm', 'O', 2337, 'o', 1103, 783, '9909', '955', 'r', '7013', 'j', '2835', 'j', 'R', '4537', '6043', 'w', 'G', 'd', 'd', '3745', '3891', 'T', 'D', '2587', 'N', '4695', '5625', 'M', 'k', 'e', '3995', 'A', 8017, 'M', 9139, 6307, 'i', 1757, 'Z', 9671, 9411, 7861], [7231, 6837, 4063, 10005, 'L', 'e', '9909', '955', 'r', '7013', 'j', '2835', 'j', 'R', '4537', '6043', 'w', 'G', 'd', 'd', '3745', '3891', 'T', 'D', '2587', 'N', '4695', '5625', 'M', 'k', 'e', '3995', 'n', 7459, 4827, 3291, 7641, 'K', 9319, 9923]

Ex Output:

9909, 955, r, 7013, j, 2835, j, R, 4537, 6043, w, G, d, d, 3745, 3891, T, D, 2587, N, 4695, 5625, M, k, e, 3995