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

Example Input: [8377, 'Q', 5191, 'h', 2277, 2989, 'W', '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'q', 'L', 8201, 'e', 585, 'h', 'G', 'T', 3401, 'd', 'l', 'o'], [8059, 'f', 'D', 'l', 7863, 'k', 'G', 'C', 'd', 'Z', 'Z', 'A', 895, '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'x', 'v', 4061, 'O', 'd', 'q', 'r', 1301, 4515, 4365, 1631, 'N', 'L', 6353, 'k', 2393, 4333, 3241, 1043]
Example Output: 7491, 593, 335, 4807, X, 6677, M, p, Y, 7747, j, 7155, 3591, 7715, I, 4975, 4979, 6273, 9479, w, 1781

Example Input: [4043, 'H', 'i', 'P', 'l', 4101, 5503, '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'N', 5083, 'z', 9883, 7117, 'D', 'B', 'b', 'Z', 483, 1565, 'N', 8227, 8593, 7323, 4913, 'H', 1479], ['B', 'A', 'N', 921, 'D', 'F', 1033, 1657, 'o', 9311, 8003, 'X', 3383, 4519, 'b', '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'p', 'C', 'j', 1835, 'b', 'm', 'H', 'n', 'a', 'h', 'Z', 'E', 5271, 467, 5481]
Example Output: 5275, 3425, c, u, M, R, A, f, 7407, 3805, 1547, 1077, P, 7387, z, g, 9607, 299, 9561, 1203, 3189, h

Example Input: ['m', 2399, 6137, 'f', 3549, 'N', 'Q', 8023, 6317, 3705, 3499, 5433, 'F', 7781, 'g', 9785, 8435, 'L', 7659, 6989, 4835, 'e', 4779, 'O', 's', '2415', 'F', '9695', 'V', 'W', 'D', 'V', 'O', '6149', '9841', '2447', 'm', '649', 'W', 'i', '7577', 'e', 'p', '4065', '435', 'M', '7279', 'N', 'H', '8235', 'n', 'M', 'd'], [2487, 8119, 'M', 7199, 'W', 7355, 6727, 541, 2701, 6983, '2415', 'F', '9695', 'V', 'W', 'D', 'V', 'O', '6149', '9841', '2447', 'm', '649', 'W', 'i', '7577', 'e', 'p', '4065', '435', 'M', '7279', 'N', 'H', '8235', 'B', 9103, 'u', 3085, 7087, 'y', 't', 6833, 'S', 'E']
Example Output:
2415, F, 9695, V, W, D, V, O, 6149, 9841, 2447, m, 649, W, i, 7577, e, p, 4065, 435, M, 7279, N, H, 8235