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

Input: Consider Input: [4227, 9749, 'E', 6815, 4877, 1367, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'K', 'X', 't', 3741, 'r', 's'], [5281, 5929, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'E', 'D']

Output: F, l, 4299, 8737, p, 4981, 55, w, 7071, 2225, 3843, 7029, j, L

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: ['C', 'i', 'P', 7831, 3397, 'X', 7543, 'P', 'M', 'W', 'D', 'I', 'l', '9167', 'U', 'h', '1065', 'V', '9307', '1589', '5069', '1817', 'S', '975', '1559', '4979', '1581', '1409', 'G', 2861, 4505, 'o', 'v', 'x', 1067, 'S', 9703, 4841, 6643, 9989, 169, 9401], [1125, 6613, 'q', 'Y', 'S', 4337, 3687, 3783, 'h', 4531, 1165, 'l', '9167', 'U', 'h', '1065', 'V', '9307', '1589', '5069', '1817', 'S', '975', '1559', '4979', '1581', '1409', 'B', 'g', 9635, 't', 'Q', 85, 1725, 'h', 7997, 2363, 5289, 'X', 'J', 7053, 'a']
Output: l, 9167, U, h, 1065, V, 9307, 1589, 5069, 1817, S, 975, 1559, 4979, 1581, 1409