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

Example Input: [4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']
Example Output: 4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031

Example Input: [2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']
Example Output: 8427, 2933, x, 2689, 9305, L, 9263, 2671

Example Input: [5249, 'k', 8261, 9663, 'Q', 9729, 'l', 2895, '4007', '7911', 'e', 'S', '45', 'k', 'F', '2377', 'R', 'h', '4779', '3533', '9637', 'D', 'N', '5057', '481', 'N', '3335', '4243', 'x', '9375', 'N', 'e', '6633', '5357', 'b', '5193', '8311', 'h', 2725, 'b', 'E', 333, 'd', 8697, 'v', 't', 'D', 'r', 'S', 'I', 5515, 'h', 4141, 6227, 'P', 'U', 'l', 8325, 'V', 'Y', 4343, 333, 'g', 'L', 9555, 'k'], [4619, 8385, 'L', 'F', 'y', 'Y', 'z', '4007', '7911', 'e', 'S', '45', 'k', 'F', '2377', 'R', 'h', '4779', '3533', '9637', 'D', 'N', '5057', '481', 'N', '3335', '4243', 'x', '9375', 'N', 'e', '6633', '5357', 'b', '5193', '8311', 'J', 1471, 6221]
Example Output:
4007, 7911, e, S, 45, k, F, 2377, R, h, 4779, 3533, 9637, D, N, 5057, 481, N, 3335, 4243, x, 9375, N, e, 6633, 5357, b, 5193, 8311