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

Example Input: [5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]
Example Output: 5961, 133, Q, V, 7547, 899, 6027, 439

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

Example Input: ['Q', 5011, 'j', '6477', '5463', '4875', 'e', 'D', 'M', 'v', '6075', '2391', 't', '1997', '7231', '2273', '1975', 'k', '6319', '9157', '3583', 'D', '8233', '9811', 'F', '5793', 'n', 'z', 'Q', 5611, 2405, 9429, 'K', 'f', 's', 7669], ['B', 8759, 'q', 5851, 4985, 'v', 'D', '6477', '5463', '4875', 'e', 'D', 'M', 'v', '6075', '2391', 't', '1997', '7231', '2273', '1975', 'k', '6319', '9157', '3583', 'D', '8233', '9811', 'F', '5793', 'n', 'z', 'F', 4785, 5921, 'N', 'Y', 8007, 'b', 'p']
Example Output:
6477, 5463, 4875, e, D, M, v, 6075, 2391, t, 1997, 7231, 2273, 1975, k, 6319, 9157, 3583, D, 8233, 9811, F, 5793, n, z