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

Input: Consider Input: [7087, 4471, 'P', 'W', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'Z', 'O', 'y', 'm', 7683, 1493, 'F', 4293, 'z'], [1607, 8143, 'F', 5435, 8723, 'x', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'E', 1241]

Output: C, 6301, T, 6625, 9345, 4471, 4385, H, K, r


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: ['I', 4399, 'a', 1415, 'G', 8319, 3685, 'Z', 'y', '2013', 'p', 'H', '533', '2499', '6259', '4901', '7933', '4559', 'D', 's', '1237', 'q', 4847, 6097, 2367, 'I', 'm', 9717, 7345, 'r'], ['D', 'y', 'y', '2013', 'p', 'H', '533', '2499', '6259', '4901', '7933', '4559', 'D', 's', '1237', 'l', 8397, 533, 5013, 163]


Output: y, 2013, p, H, 533, 2499, 6259, 4901, 7933, 4559, D, s, 1237