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

Example Input: [9677, 4817, 5889, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 'r', 5945, 2503, 9765, 8527], [1659, 'z', 7571, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 's', 'f', 7387, 4583, 4393, 'o', 8185, 'Y', 3513]
Example Output: w, 9447, A, g, 4241, l, 6431, v, r, 1925, 1007, 8177, 5627, 7383, 691, Z, 7593

Example Input: ['m', 'F', 5425, 1403, 6355, 7383, 'Y', 'e', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'N', 2741, 7825, 6521, 'R'], [8389, 7261, 4783, 6181, 6767, 9719, 2625, 'W', 4357, 1749, 887, 153, 8939, 'K', 1329, 'T', 'a', 'k', 'F', 't', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'K', 'E', 'P', 8489, 2309, 'j', 3937, 4731, 'H']
Example Output: K, 10031, S, 9599, V, i, 6919, r, m, I, x, 6889, M, 1977, S, c, m, 4569, F, C, u

Example Input: ['D', 'H', 'L', '333', 'O', '7849', '1047', 'J', 'K', 'Y', 'f', 'N', '5189', 'g', '5243', 'W', 'Z', 'd', '2577', '8347', 'x', 'P', 'f', 'n', 'n', 4705], ['R', 5045, 4813, 'R', 'L', 'Y', 'b', 5891, 9241, '333', 'O', '7849', '1047', 'J', 'K', 'Y', 'f', 'N', '5189', 'g', '5243', 'W', 'Z', 'd', '2577', '8347', 'x', 'v', 'Y', 'e', 2999]
Example Output:
333, O, 7849, 1047, J, K, Y, f, N, 5189, g, 5243, W, Z, d, 2577, 8347, x