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

Example Input: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]
Example Output: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723

Example Input: [2657, 9739, 's', 't', 9269, 'G', 'j', 'R', 'l', 119, 'V', 2753, 'V', 5255, 7821, '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'Y', 't', 2565, 'c', 'G', 701, 'x'], ['x', 'K', 8907, 9149, 'A', 6585, 't', 7561, 5293, 'j', 9499, 3181, 8867, 'C', 'P', '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'V', 'E', 2565, 863, 'N', 7535]
Example Output: 1931, 6905, u, 6137, 7665, 7679, 7019, O, F, i, u, L, e, E, G, 8939, n

Example Input: [8463, 2117, 3715, 6105, 8883, '7723', '6313', 'I', 'Q', '2101', '2159', 'c', '3689', 'Q', 'N', 'z', 769, 9823, 305, 1499, 'Q', 1467, 5205], [8321, 1451, 'e', 'X', 6779, 1691, 'x', '7723', '6313', 'I', 'Q', '2101', '2159', 'c', '3689', 'Q', 'V', 'd', 'F', 4161, 'W', 'M']
Example Output:
7723, 6313, I, Q, 2101, 2159, c, 3689, Q