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

Example Input: ['r', 9177, 1593, 9315, 'C', 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'A', 2489, 3955, 1603, 6355], ['I', 'W', 7673, 'm', 'E', 9111, 4177, 9355, 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'v', 9065, 2309, 5041, 1047, 1263, 'V', 3483]
Example Output: Z, w, X, 1005, 185, 837, p, 2923, Y

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: [7943, 'b', 1923, 603, 'B', 7811, 7079, 'U', 1659, 'Q', 'E', '7317', 's', '7037', '6579', '2911', 'v', 'l', 'M', 'V', '6577', '6067', '5155', 'S', '4527', 'R', 'D', '5831', 'V', '2123', 'E', 'c', 'Y', 1577, 'r', 'D', 1907, 4171, 'm', 'V', 'f'], [2989, 'i', 477, 6503, 6537, 'E', '7317', 's', '7037', '6579', '2911', 'v', 'l', 'M', 'V', '6577', '6067', '5155', 'S', '4527', 'R', 'D', '5831', 'V', '2123', 'k', 'O', 2147, 2617, 6033, 7411, 1905, 9999, 'G', 'U', 8333, 1033, 79, 3267, 'H', 4635]
Example Output:
E, 7317, s, 7037, 6579, 2911, v, l, M, V, 6577, 6067, 5155, S, 4527, R, D, 5831, V, 2123