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

Ex Input:
['a', 4905, 8389, 9641, 'q', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'F', 'v', 5681, 'Q', 5143, 8875, 'i', 5537, 'f', 'J', 'j', 8747, 'K', 'f', 'z', 983, 'g', 8105, 'q', 4679, 2409], ['G', 'k', 'B', 'm', 'W', 3523, 9719, 'f', 8921, 'N', 6185, 'p', 7841, 'T', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'd', 's', 4795, 'P', 'e', 9789, 9769, 's', 8079, 5909, 8059, 'j', 'o', 'B', 'Z', 6147, 2177, 'L', 'a']

Ex Output:
K, 1119, F, N, R, 3705, 2745, L, 2995, 6385, 1891, O, 6759, 2279, N, 9215, 5361, a, 2215, O, 9183, 8603, 1437, 9245


Ex Input:
['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']

Ex Output:
3961, 1747, v, 7423, 847, a, 4969, T, L, 5383


Ex Input:
[5561, 4419, 'G', 'g', 37, 9315, 6451, 'u', 'Y', 2715, 'b', 'Y', 'h', 1167, 'c', 9943, 'a', 'S', 'H', 'D', 'L', 'A', 'd', '6003', 'e', '1471', '3987', '4895', '997', '6303', '5979', '5655', '2309', '4029', '5913', '9245', 'S', '6399', 'U', 'b', 6911], ['y', 'T', 'J', 1615, 9949, 9637, 8801, 'D', 'L', 'A', 'd', '6003', 'e', '1471', '3987', '4895', '997', '6303', '5979', '5655', '2309', '4029', '5913', '9245', 'S', '6399', 'Y', 'a', 1697, 6041, 'K', 8085, 'u', 3235, 'x', 'M', 3417, 'r', 'N']

Ex Output:

D, L, A, d, 6003, e, 1471, 3987, 4895, 997, 6303, 5979, 5655, 2309, 4029, 5913, 9245, S, 6399