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

Example Input: [7969, 7833, 9069, 'l', 'N', 7935, 7821, 'y', 'q', 'r', 'G', 'O', 'w', 'n', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'M', 'c', 'u', 5133, 'x', 117, 5841, 'd', 'z', 'A', 3299, 'O', 'W', 'E', 'Q', 8547, 'w', 5235, 9011], [2305, 'g', 'Y', 'v', 6105, 'm', 6457, 2715, 'b', 7811, 3401, 'H', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'K', 'Z']
Example Output: h, j, X, 9705, U, 7943, K, r, 4841, 2141, d, 2007, O, 5005, b, 7367, T, C, t, 6865, Y, 1263

Example Input: [1893, 1281, 10025, 'E', 2675, 2191, 'A', 4351, 3435, 7087, 'J', 'l', 'w', 'D', 'x', 'n', 4329, 4957, 'l', 'F', '8377', '8425', 't', '9767', 'B', '6243', '5819', '7993', '2429', '3513', 'A', '929', 'H', '7223', 'x', 'x', 'N', '6205', '3829', '8551', '6479', 'Z', '7559', '6201', '9539', 'e', 'R', 'Y', '5015', '7301', 'w', 'g', 'U', 5321, 'i', 4069, 'f', 1415, 'K', 7073, 'J', 'S', 'm', 4119, 'H', 243, 'J', 'Z', 'n'], [6147, 1863, 2545, 3545, 'W', 'B', 'b', 533, '8377', '8425', 't', '9767', 'B', '6243', '5819', '7993', '2429', '3513', 'A', '929', 'H', '7223', 'x', 'x', 'N', '6205', '3829', '8551', '6479', 'Z', '7559', '6201', '9539', 'e', 'R', 'Y', '5015', '7301', 'Y', 7797]
Example Output: 8377, 8425, t, 9767, B, 6243, 5819, 7993, 2429, 3513, A, 929, H, 7223, x, x, N, 6205, 3829, 8551, 6479, Z, 7559, 6201, 9539, e, R, Y, 5015, 7301

Example Input: [6775, 'a', 'D', '1749', '8681', '5197', 'b', 4293, 'z'], [6985, 2673, 8837, '1749', '8681', '5197', 'T', 'a']
Example Output:
1749, 8681, 5197