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

Ex Input:
['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]

Ex Output:
4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R


Ex Input:
['w', 5919, 'P', 6117, 7697, 'Y', 4467, '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'u', 'P', 1347, 'y', 'r', 'o', 5611, 'L', 999, 4781], [9955, 'n', 8107, 7059, 'V', 'E', 2417, 1811, 3625, 623, 'T', 'R', 'p', 'l', 'W', 8103, 3691, 'N', '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'k', 'p', 'L', 1311, 591, 'J', 5611, 'Q', 'p', 'I', 5921, 237, 'y', 1981, 3861, 'B', 'n', 'r', 'H']

Ex Output:
3097, 2793, x, P, c, o, 8777, D, 1983, 2397, X, t, k, 8109, 2549, b, 7173, 3843, k


Ex Input:
[7481, 5757, 'c', 'Z', '2157', 'K', 'Q', '1007', '2301', 'p', '2533', '849', '241', 'l', 'b', 'P', 'k', '8581', 'O', 'E', 's', '8325', 'U', 'A', '5083', 'p', 'F', 'I', 'V', 'D', 'n', 'G', 'O', 'W'], ['T', 'B', 197, 6983, 'F', 9843, 'Z', '2157', 'K', 'Q', '1007', '2301', 'p', '2533', '849', '241', 'l', 'b', 'P', 'k', '8581', 'O', 'E', 's', '8325', 'U', 'A', '5083', 'p', 'F', 'I', 'V', 'D', 'p', 2547, 8355, 'Z', 'y', 'f', 'Z', 'o', 9733, 'R', 5885, 8945, 'b', 3623]

Ex Output:

Z, 2157, K, Q, 1007, 2301, p, 2533, 849, 241, l, b, P, k, 8581, O, E, s, 8325, U, A, 5083, p, F, I, V, D