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

Example Input: [8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]
Example Output: 5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571

Example Input: [337, 2045, 613, 'P', 89, 10003, 'q', 'b', 'n', 6479, 'Y', 'm', 5259, 'c', 9101, 7599, 6353, 5467, 'O', 'U', 'N', 7841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'N', 'w', 7365, 'W', 981, 245, 8933, 'h', 4477, 1395, 'J', 8069, 5313, 'J', 709, 3533, 'b', 8629, 'G', 'P', 'Y', 5397], [3017, 1679, 'O', 'p', 2983, 9493, 4763, 'P', 'Q', 'd', 139, 'i', 2459, 'G', 'c', 299, 'Q', 'Z', 1841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'q', 'k', 825, 'D', 't', 'j', 'T', 6747, 'q', 7211, 'i', 1557, 'f', 7917, 'R', 1325, 6801, 'T', 'Q', 2305, 's', 'K', 'R', 2877, 'p']
Example Output: S, S, 6141, p, 9427, U, 1347, I, 5193, O, N, s, 1617, e, 2297, X, y, e, 507, R, a, E, q, 4953, 729, T, w, 7017, 8647

Example Input: ['h', 'Q', '8403', '5341', 'S', 'c', 'U', '5995', 's', 'H', 'k', '8541', 'I', '7659', 'S', '4169', '6589', '5607', 'O', 'a', '3949', '2425', 'U', 'h', '1797', '4871', '6711', '327', 'K', '201', '3379', 'C', 6121, 3283, 'y', 9917, 'U', 125, 2747, 6519, 'O', 'T', 'e', 8211, 3507, 4605, 7239, 'E', 'o'], [4033, 6235, 'a', 'Y', 7993, 'h', 'O', 'M', 4489, 'L', 'q', 'F', 'a', 'Z', 3789, 'x', 'C', 6619, '8403', '5341', 'S', 'c', 'U', '5995', 's', 'H', 'k', '8541', 'I', '7659', 'S', '4169', '6589', '5607', 'O', 'a', '3949', '2425', 'U', 'h', '1797', '4871', '6711', '327', 'K', '201', '3379', 'g', 'O', 2411, 7773, 7369, 10015, 8345, 'I', 3367, 4769, 2225, 1815, 5879, 'y', 4667, 27, 'I', 8895, 'E', 4471, 'P', 'n', 'F', 'f', 'T']
Example Output:
8403, 5341, S, c, U, 5995, s, H, k, 8541, I, 7659, S, 4169, 6589, 5607, O, a, 3949, 2425, U, h, 1797, 4871, 6711, 327, K, 201, 3379