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

Input: Consider Input: ['p', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']

Output: 1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C


Input: Consider 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]

Output: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723


Input: Consider Input: [4473, 'Z', 'z', 3953, 't', 3021, 5245, 'k', 5003, 2747, 4839, 's', 4017, 'p', 'Y', 'U', '381', '9765', 'e', 'A', '457', '6095', '9367', '8451', 'J', '3237', '9989', 'x', 'X', '7747', 's', 'n', '3385', 'x', '2071', 'q', 'b', 7913, 5361, 5447, 8023, 'F', 33, 'i', 7717, 5225, 6073], [4345, 'H', 'Z', 7939, 'M', 803, 7985, 3137, 1831, 't', 'm', 'x', 3391, 7749, 'W', 'y', 'U', '381', '9765', 'e', 'A', '457', '6095', '9367', '8451', 'J', '3237', '9989', 'x', 'X', '7747', 's', 'n', '3385', 'x', '2071', 'w', 'n', 'O', 2901, 'g', 3869, 'y', 5541, 2689, 1299, 4195, 'I', 6393, 1453, 'P', 'O', 1999, 1577]


Output: U, 381, 9765, e, A, 457, 6095, 9367, 8451, J, 3237, 9989, x, X, 7747, s, n, 3385, x, 2071