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

Input: Consider Input: [9317, 'w', 4993, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 'n', 'm', 3279, 'p', 5809, 'R', 103, 'q', 7037], ['w', 'y', 1757, 'P', 5339, 'v', 2295, 'J', 'D', 6391, 4415, 3971, 2739, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 't', 583, 2855, 'n', 't', 7281, 5103, 'E', 3181, 3639, 'G', 'c', 4007, 'H', 'v', 8375, 'j', 'I', 'r', 'l', 9621, 'X', 1885, 4309]

Output: s, m, 6813, w, 1303, 849, k, 6253, 6957, 8725, 6917, f, 1977, 6293, 2107, Z, 3307, t, 2617, D, b, l, 8713, P, C, T


Input: Consider Input: [6423, 'w', 'K', 'm', 'S', 'X', '8857', 'r', '9809', 'a', 'g', '7297', 'H', 'Q', 'W', 'I', 'm', '3277', 'm', 'W', 'L', 'H', 'S', 'X', 'y', 2479, 'p', 'B', 7193, 8327, 'X', 8547, 2261, 'X', 477, 535, 'w', 'f', 2923], [5389, 6751, 'F', 'l', 9579, 'A', 'S', 'X', '8857', 'r', '9809', 'a', 'g', '7297', 'H', 'Q', 'W', 'I', 'm', '3277', 'm', 'W', 'L', 'H', 'O', 't', 8821, 'H', 3919, 7667, 'x', 'v', 4035, 3179, 9235, 5679, 'c', 'P']

Output: S, X, 8857, r, 9809, a, g, 7297, H, Q, W, I, m, 3277, m, W, L, H


Input: Consider Input: ['w', 1591, 3603, 'B', 'i', 'r', 'z', 1147, 'J', 3285, 'n', 4323, 5249, 'C', '8183', 'F', '7907', '9875', '6639', 'u', '3807', 'O', 'p', 'R', '5869', 'u', 'K', 'G', 'L', 'I', 'n', 'S', '7055', 'k', '6869', '3753', '9219', 't', 'j', 'A', 2761, 's', 'x', 'L', 'u', 7171, 6735, 'J', 'a', 'Y', 6821, 3053, 2737, 1129, 't', 'z', 9787], [4033, 'h', 'L', 4153, 3955, 6533, 'a', 8107, 'e', 3881, '8183', 'F', '7907', '9875', '6639', 'u', '3807', 'O', 'p', 'R', '5869', 'u', 'K', 'G', 'L', 'I', 'n', 'S', '7055', 'k', '6869', '3753', '9219', 'r', 293, 'E', 'W', 'Q', 'P']


Output: 8183, F, 7907, 9875, 6639, u, 3807, O, p, R, 5869, u, K, G, L, I, n, S, 7055, k, 6869, 3753, 9219