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

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: ['s', 1853, 'h', 'T', 'f', 'N', 'c', 643, 8659, 'E', 'v', 'A', 't', 779, 'S', 'p', 'A', '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'X', 1613, 't', 'Q', 747, 'F', 9819, 7747, 7059, 509, 1169, 'z', 9807, 4297, 7399, 7009, 'z', 'L', 3495, 'c', 'l', 'd', 'A'], ['C', 4481, 'H', 3327, 7321, '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'F', 'o', 'O', 2361, 9341]

Output: 9745, 2013, o, 9115, Y, f, l, 9683, 4447, G, W, 3807, 6689, 3789, 9207, 4683, s, 6555, 7405, F, 7739, 3145, 8895, 2515


Input: Consider Input: ['F', 879, 5527, '9827', 'k', '6309', '6899', '9099', '2621', '9287', '681', 'e', '5011', '8727', '8091', '7261', '6831', '9247', 'f', '7995', 'o', 'L', '9699', '6925', '7343', 'k', 5017, 'G'], ['h', 'e', 'u', 9735, 'u', 1205, 'x', 'Q', 'I', 6093, 1897, 5897, 'k', '9827', 'k', '6309', '6899', '9099', '2621', '9287', '681', 'e', '5011', '8727', '8091', '7261', '6831', '9247', 'f', '7995', 'o', 'L', '9699', '6925', '7343', 'K', 'r', 6831, 5287, 'H', 8895, 683, 'f', 'M', 'z', 8711, 'd', 8309, 'R', 'V', 'Z', 1579, 7989, 'F', 2349, 'Z', 'h']


Output: 9827, k, 6309, 6899, 9099, 2621, 9287, 681, e, 5011, 8727, 8091, 7261, 6831, 9247, f, 7995, o, L, 9699, 6925, 7343