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

Input: Consider Input: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

Output: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M


Input: Consider Input: [953, 'l', '1329', '527', '6257', 'v', '5461', 'F', 't', 3373, 'r'], ['v', 'P', '1329', '527', '6257', 'v', '5461', 'h', 5517, 'Z', 'y', 5061]

Output: 1329, 527, 6257, v, 5461


Input: Consider Input: [6045, 405, 'V', 1565, 1993, 'V', 'M', 9493, 'c', 'X', 'C', 'Y', 9025, 6949, 4337, 1351, 'c', 6865, 'm', 'J', 't', 'j', 2543, '7079', '3267', '3565', '193', 'p', '9457', '9001', '5151', '2077', 'V', '7899', '1017', 'M', '2067', 'u', 'w', 'Z', '7203', 'r', 'N', 'r', 'D', '2049', 'z', 'F', 9627, 9875, 'G', 'm', 3241, 'k', 'N', 6953, 1567, 'c', 7517], [3113, 7821, 4945, '7079', '3267', '3565', '193', 'p', '9457', '9001', '5151', '2077', 'V', '7899', '1017', 'M', '2067', 'u', 'w', 'Z', '7203', 'r', 'N', 'r', 'D', '2049', 'h', 'A', 8129, 'I', 'u', 'K', 4079, 'I', 5441, 4891, 3367, 1593, 'i', 7485, 'p', 6367, 'V', 'p', 'K']


Output: 7079, 3267, 3565, 193, p, 9457, 9001, 5151, 2077, V, 7899, 1017, M, 2067, u, w, Z, 7203, r, N, r, D, 2049


