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

Example Input: ['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]
Example Output: 1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x

Example Input: [6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]
Example Output: 4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I

Example Input: ['h', 4533, 'A', 1331, 'n', 2389, 'W', 'L', 4719, 'P', 'R', 'A', 2235, 'u', 181, 8647, 'a', 2699, '2629', '7511', 'c', 'w', 'c', 'z', 'w', '7121', 'Y', 'H', '7747', '5891', 'y', '4295', '3285', '8405', '5695', '6725', '3475', 'Z', '1715', '8085', '7539', 'k', '8123', 't', '9945', '1971', '8935', '297', 'R', 3995], ['S', 'B', 'Z', 'T', 3443, 5111, 'Z', 7639, 'G', 'y', 439, 5153, 'z', 5581, 'Z', 4289, 5395, 2093, 'r', 'y', 6653, 'K', 'h', 2711, '2629', '7511', 'c', 'w', 'c', 'z', 'w', '7121', 'Y', 'H', '7747', '5891', 'y', '4295', '3285', '8405', '5695', '6725', '3475', 'Z', '1715', '8085', '7539', 'k', '8123', 't', '9945', '1971', '8935', '297', 'l', 3083, 'I', 'Q', 7751, 'x', 8413, 'I', 'G', 9589, 'c', 3753, 'y', 'h']
Example Output:
2629, 7511, c, w, c, z, w, 7121, Y, H, 7747, 5891, y, 4295, 3285, 8405, 5695, 6725, 3475, Z, 1715, 8085, 7539, k, 8123, t, 9945, 1971, 8935, 297