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

Input: Consider Input: [9741, 'E', 4251, 8197, 'V', 'd', 'U', 'S', 'l', 4297, 9217, 'O', 6607, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'R', 'u', 587, 'r', 'i', 3977, 's', 'V', 'v', 215, 399, 's', 7561, 25, 3885, 1501, 'W', 7853, 'l', 5145, 'z'], [5441, 169, 9471, 'r', 'i', 7087, 'v', 't', 6273, 'k', 1041, 'd', 'Q', 2227, 5617, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'Z', 'b', 3671, 'y', 9829, 7849, 9049, 'T', 8407, 'M', 'B', 'N', 7837, 2963, 7385, 'K', 8717, 'j', 3621, 75, 'E']

Output: 2517, G, y, a, F, 1035, 823, E, J, a, 3609, 7379, x, Y, M, 1893, O, 4875, z, B, c, 7147, u, 9477


Input: Consider Input: [7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Output: v, 4045, F, O, N, k, 6013


Input: Consider Input: ['l', 'd', 6617, 2765, 'R', 'c', 'I', '4713', 'l', '8403', '8451', '1979', 'W', 'f', 'm', '4007', '4485', '5139', 'J', 'M', '7153', '4615', 'x', '8747', '1705', '7841', '7241', '3611', 'K', 'f', '2735', '9863', 'O', 'I', 'j', 'W', 'x', 'o', 'x', 'z', 3667, 'L', 9953, 3071, 6209, 1521, 'M', 7725, 8163, 8687, 's', 'Y', 'V', 1523, 1263, 9357, 'm', 9565], ['a', 'e', 5201, 6617, 2213, 'W', 'B', 'N', 'I', 'O', 'F', 'M', 7557, 3459, 'E', 'X', 'G', 'H', 2229, 'j', 7571, 6087, 8711, 'c', 'c', 'I', '4713', 'l', '8403', '8451', '1979', 'W', 'f', 'm', '4007', '4485', '5139', 'J', 'M', '7153', '4615', 'x', '8747', '1705', '7841', '7241', '3611', 'K', 'f', '2735', '9863', 'O', 'K', 'l', 'n', 'j', 8303, 'N', 5773, 'Y', 6429, 9275, 'C', 'v', 'T', 8573, 'E', 7703, 7465]


Output: c, I, 4713, l, 8403, 8451, 1979, W, f, m, 4007, 4485, 5139, J, M, 7153, 4615, x, 8747, 1705, 7841, 7241, 3611, K, f, 2735, 9863, O