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

Input: Consider Input: ['U', 1887, '8423', 'j', '8053', 'g', '5441', 'H', 'j', 3847, 'd', 'J', 1971, 'M'], ['y', 'T', 'C', 'z', 6299, 5393, '8423', 'j', '8053', 'g', '5441', 'H', 'x', 'f', 4189, 'h', 'e', 6577]

Output: 8423, j, 8053, g, 5441, H


Input: Consider Input: ['H', 3635, 'N', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'B', 9737, 'n'], ['U', 2701, 'e', 'z', 'd', 3631, 'E', 'V', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'c', 'F', 'b']

Output: c, 2297, U, W, j, 7741, u, 2283


Input: Consider Input: ['E', 797, 3971, 2103, 'E', 823, 'C', 'M', '869', '2587', '3023', 'h', '8355', 'M', 'l', '2089', '5269', 'C', 'Q', '5205', '3273', '7897', '2939', 'y', 'W', 'k', 'E', 'h', 'V', '6355', '8085', 'q', 'M', '5483', 'P', 9291, 'u', 8567, 9119, 255, 'a', 297, 5687, 'm', 1257, 569, 'D', 3581, 9185, 'Y', 'M', 4139, 4867, 'W', 'q', 2313, 'f', 's', 'T', 'k'], ['L', 2147, 'z', 'J', 'p', 7669, 'N', 6399, 'c', 7935, 5609, 'm', 9627, 'C', 3021, 'K', 6515, 'T', 5551, 87, 'O', 'G', 8573, 'Q', '869', '2587', '3023', 'h', '8355', 'M', 'l', '2089', '5269', 'C', 'Q', '5205', '3273', '7897', '2939', 'y', 'W', 'k', 'E', 'h', 'V', '6355', '8085', 'q', 'M', '5483', 'g', 'S', 'A', 'D', 8483, 9327, 4595, 4001, 3255, 'G', 9011, 499, 2721, 7237, 'B', 8933, 9389]


Output: 869, 2587, 3023, h, 8355, M, l, 2089, 5269, C, Q, 5205, 3273, 7897, 2939, y, W, k, E, h, V, 6355, 8085, q, M, 5483