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

[605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']
7897, 5823, P, 9001, J

[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]
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

[8843, 'P', 8865, 795, 3537, 4897, 'm', 777, 'i', 9905, 'D', 4731, 3565, 'b', 6017, 7063, 'W', '1589', 'E', 'x', 'D', '4101', 'R', 'o', 'o', '6041', 'j', '3937', '3293', 'w', '5171', 'h', '6227', 'S', '2027', 'U', 'w', 9005, 'I', 'f', 'E', 'A', 'E', 'j', 3671, 'v', 'v', 'O', 4653, 4407], ['I', 3297, 2375, 'm', '1589', 'E', 'x', 'D', '4101', 'R', 'o', 'o', '6041', 'j', '3937', '3293', 'w', '5171', 'h', '6227', 'S', '2027', 'U', 'l', 'e', 'j', 'H', 6493, 2733, 'j', 1841, 'f', 'i', 'F', 7167, 'E', 275, 'I', 1075, 3791, 9807]

1589, E, x, D, 4101, R, o, o, 6041, j, 3937, 3293, w, 5171, h, 6227, S, 2027, U