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

Input: Consider Input: ['n', 3489, 8863, 9345, 'f', 461, 8033, 'G', 'e', 1605, 'm', 'U', 4987, 'd', 'n', 3177, 'v', 2785, 'b', 327, 'm', 401, 'p', 5665, 'i', 'C', 'l', 'g', 'g', 'Q', 'C', 'c', '3209', '447', '7129', '2241', 'H', '4843', '9185', 'X', 't', 'r', '1685', 'h', '1763', 'L', '6675', 'y', '5147', 'u', 'X', '393', 'W', 'j', 'e', 'V', 2163, 'j', 'u', 9753, 'C', 'U', 4583, 'v', 'A', 'b', 'W', 'O', 'U', 2827, 'E', 7139, 5949, 'T', 'b', 'J', 8719, 3917, 'H', 'i'], [1275, 7729, 4089, 'r', 'H', 'q', 7305, 'O', 'P', 'D', 511, 'W', 'J', 2939, 4951, 'X', 2757, 'l', 'Q', 'u', 'w', 3201, 'N', 'i', 'C', 'l', 'g', 'g', 'Q', 'C', 'c', '3209', '447', '7129', '2241', 'H', '4843', '9185', 'X', 't', 'r', '1685', 'h', '1763', 'L', '6675', 'y', '5147', 'u', 'X', '393', 'W', 'w', 9803]

Output: i, C, l, g, g, Q, C, c, 3209, 447, 7129, 2241, H, 4843, 9185, X, t, r, 1685, h, 1763, L, 6675, y, 5147, u, X, 393, W


Input: Consider Input: ['x', 653, 8793, 'W', 1845, 'Y', 6363, 9757, '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'J', 703, 'F', 'X', 'x', 7483], ['q', 10017, 5483, 8675, 'w', 'F', 'D', '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'n', 7147, 7131, 'q', 'u', 'A', 1171, 'V', 'k', 'N', 6869]

Output: 9605, U, 1913, 2991, 7131, 237, 7023, j, 2123, B, 1887, K, 3729, D, 8391, 9729, w, k, M, 6957


Input: Consider Input: [3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']


Output: 495, 3897, O, x, 2409, 6843, 3477, 5411