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

Input: Consider Input: [3645, 'a', 'r', 'H', 'F', 5289, 'Q', 'S', 'l', 'A', 'i', 'N', 4209, 'Y', 'v', 'l', 'f', 'B', 9611, 8025, 'x', 8141, 3323, 9387, 1457, 2157, 'v', '6997', '1987', '9305', 'c', '9391', 'W', 'q', 'H', 'O', '9283', '5671', '9549', 'M', '881', '6859', '3761', '7565', '2293', '1701', 'p', 'q', 'u', '8057', 'k', '1721', '4713', 'y', 'g', 'b', 5905, 'H', 'Y', 5059, 745, 'd', 1313, 'U', 7783, 'R', 'B'], ['q', 'N', 10023, 'V', 9257, 'y', 563, 'b', 8447, 2529, 'f', 4739, 9195, 'O', 1099, 4353, 'P', 821, 8169, 'S', 'r', 'b', 'v', '6997', '1987', '9305', 'c', '9391', 'W', 'q', 'H', 'O', '9283', '5671', '9549', 'M', '881', '6859', '3761', '7565', '2293', '1701', 'p', 'q', 'u', '8057', 'k', '1721', '4713', 'y', 'g', 'e', 4393, 'j', 'J', 'A', 'I', 'n', 181, 3731, 5323, 3189, 9859, 'Q', 'V', 'E', 2413, 733, 'p', 'U', 3339, 8789, 'd', 4205, 5453, 'I', 1359, 891, 4269]

Output: v, 6997, 1987, 9305, c, 9391, W, q, H, O, 9283, 5671, 9549, M, 881, 6859, 3761, 7565, 2293, 1701, p, q, u, 8057, k, 1721, 4713, y, g


Input: Consider Input: [1043, 4021, 'b', 'e', '5055', 'N', 7081], ['o', 'S', 'b', 'e', '5055', 'q', 8711, 9911]

Output: b, e, 5055


Input: Consider Input: [1877, 2031, 'z', '2859', 'M', 'P', '6057', 'Y', 'N', 'Z'], ['D', 7859, 3709, '2859', 'M', 'P', '6057', 'Y', 's', 2073, 'E', 4977, 'Q']


Output: 2859, M, P, 6057, Y