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

Input: Consider Input: [93, 'H', 'd', 'z', 'G', 'u', '9033', '709', '6413', 'C', 'j', 8909, 5687], [9451, 2867, 'G', 'u', '9033', '709', '6413', 'Y', 'y']

Output: G, u, 9033, 709, 6413


Input: Consider Input: [3043, 'd', 1055, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'Y', 'f', 4599], ['Q', 'X', 2931, 'f', 3139, 'r', 3625, 4375, 'B', 8381, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'N', 8281, 'W', 'u', 5969, 'w', 'b', 1735, 'j']

Output: 2909, J, D, 4735, 6701, v, P, 4341, 7905, G, 5297, 6721


Input: Consider Input: [7459, 'D', 787, 'w', 3515, 6339, 'Q', 9399, 'd', 'N', 7697, 'T', '8247', 'A', 'C', 'z', 'u', '5259', '9311', '1323', 'E', 't', '8761', 'N', '5399', '2517', 'O', 'H', 'n', 'G'], [5303, 'h', 'r', 'T', '8247', 'A', 'C', 'z', 'u', '5259', '9311', '1323', 'E', 't', '8761', 'N', '5399', '2517', 'O', 'S', 'C', 8551, 8597, 2683, 2103]


Output: T, 8247, A, C, z, u, 5259, 9311, 1323, E, t, 8761, N, 5399, 2517, O