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

Input: Consider Input: ['U', 3417, 5169, 'r', 's', 2909, 3363, 'x', 8463, 9703, 3041, 'e', 4997, 1689, 'Y', 'y', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'G', 2185, 'I', 'D', 'U', 2889, 6837, 'B', 'x', 2775, 'I', 3053, 1801], [525, 'd', 'K', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'z', 9959, 'H', 1865, 'M', 8529]

Output: T, 53, 8895, 1117, 4025, v, 1689, e, V, k, 2673, 5425, c, p, 8235, Q


Input: Consider Input: ['X', 8541, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'r', 3095, 't', 'i', 5121, 2147, 'O', 4145, 1995, 'E', 'a'], ['g', 'v', 491, 'F', 'Q', 8013, 5789, 6119, 'p', 8193, 'G', 6543, 'n', 'f', 5239, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'y', 9617, 4351, 'X', 9425, 3497, 6049, 8113]

Output: z, A, 3985, 181, k, 6327, 4303, Q, 6295, i, b, A, h, f, 4947, N, 4649, S, 1957, 2921, 7817, i


Input: Consider Input: ['r', 7309, 'a', 5957, 2551, 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'a', 'M', 'h', 4163, 'n'], ['q', 4457, 'D', 2623, 't', 'F', 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'u', 2719, 'G']


Output: c, 4533, L, 9417, m, 7989, 4409