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

Example Input: [9417, 6541, 'V', 4095, 2535, 8271, 4253, 'r', 7251, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'Y', 'm', 3611, 'K', 7553, 'B', 'K', 'T'], ['P', 'r', 6361, 2773, 'r', 2627, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'f', 7923, 3733, 5271, 4083]
Example Output: F, s, 5673, Q, 163, 591, G, m, t, 7069, c, o, t, q, 5595, D

Example Input: [5855, 5381, 4557, 1925, 5483, 'e', 'G', 5611, 'i', 'm', 8803, 'B', 'y', 'E', 'q', 'b', '3923', '4531', '3417', '6771', '4237', '5073', 'f', '71', '9965', 'S', 'R', '2881', 'Z', '7031', '5001', '6173', 'k', 'b', 'w', 'Z', 'S', 7197, 193, 5037, 7897, 'u', 'z', 5457, 2889, 5487, 7755, 4747, 6959, 3923, 7809, 547, 'a', 5151, 'x', 'N', 'S', 'A', 's', 'x', 8791], ['t', 'F', 8629, 's', 'a', 'L', 6413, 'V', 'Q', 'R', 'C', 'J', 'B', 'y', 'E', 'q', 'b', '3923', '4531', '3417', '6771', '4237', '5073', 'f', '71', '9965', 'S', 'R', '2881', 'Z', '7031', '5001', '6173', 'k', 'b', 'w', 'Z', 'A', 'w']
Example Output: B, y, E, q, b, 3923, 4531, 3417, 6771, 4237, 5073, f, 71, 9965, S, R, 2881, Z, 7031, 5001, 6173, k, b, w, Z

Example Input: ['v', 'p', 5253, 3439, 4311, 5295, 4825, 8909, 2857, 4367, 4181, 3377, 't', 6761, 9487, 'H', 'H', 3831, 'g', 2431, 5857, 2173, 'e', '9349', 'c', '6495', 'S', 'm', 'F', '7395', 'Q', 'L', 'v', '6225', '5477', '2939', '5843', '8951', '5463', '5931', 'H', '3361', 'Y', '3961', 'B', '599', 's', 'X', 'O', 393, 8651, 'p', 'j', 's', 'c', 'O', 'x', 5581, 5859, 5875, 7641, 1925, 6505, 8871, 127, 4589, 'J', 'Q', 'e', 2821, 'm', 'p', 4097], ['q', 'a', '9349', 'c', '6495', 'S', 'm', 'F', '7395', 'Q', 'L', 'v', '6225', '5477', '2939', '5843', '8951', '5463', '5931', 'H', '3361', 'Y', '3961', 'B', '599', 's', 'X', 'o', 593, 7137, 'A', 2813, 5437, 9069, 'M', 6055, 9101, 5731, 2007, 2665, 'R', 3117, 4289, 'q', 'C', 1359, 'R']
Example Output:
9349, c, 6495, S, m, F, 7395, Q, L, v, 6225, 5477, 2939, 5843, 8951, 5463, 5931, H, 3361, Y, 3961, B, 599, s, X