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

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: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']
Example Output: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191

Example Input: [2647, 'D', 'q', 'P', 6067, 3591, 1081, 'T', 2835, 5797, 7213, 7679, 'W', 4661, 7889, 9677, 3313, 7233, 9121, 2061, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'a', 547, 657, 5609], ['o', 8055, 'b', 345, 'k', 1237, 'R', 'M', 2177, 'V', 3921, 'k', 'o', 'z', 7451, 27, 'F', 8073, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'e', 9767, 1391, 'Q']
Example Output:
v, u, 325, 8069, 4691, 9597, O, 8811, 6583, M, 4393, 1767, v, 2707, 4419, Q, a, 3885, 1795, 9599