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

Input: Consider Input: [7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']

Output: q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k


Input: Consider Input: [8711, 'f', 8715, 7649, 4967, '5867', 'i', '6567', 'R', '6087', '2945', 'J', 'j', 9099, 6331], ['a', 'T', 'n', 4869, '5867', 'i', '6567', 'R', '6087', '2945', 'M', 3125, 'D', 3835]

Output: 5867, i, 6567, R, 6087, 2945


Input: Consider Input: ['i', 2153, 8879, 'Q', 9403, 6667, 'E', 1829, 'b', 'j', 1907, 9167, 3331, 'T', 't', 6039, 'i', 'z', 4097, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'H', 'B', 'Y', 'q', 2151, 129, 'd', 'I', 'N', 5573, 'S', 'x', 5201, 'J', 2507, 'Y', 4951, 'b', 8655, 7611, 5419, 3559], ['K', 6565, 'L', 'E', 4757, 'x', 'W', 't', 'X', 's', 2289, 2227, 'm', 's', 661, 8723, 'P', 'U', 'S', 7791, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'K', 4161, 'e', 'z', 't', 8701, 5515, 8391, 'C', 9017, 3623, 3777, 'z', 'O', 'w', 7551, 4971, 'U']


Output: 1959, U, q, 8789, z, 6135, K, 147, 6933, 3647, 9265, 10015, 4259, 7919, 2077, 3797, 631, 7453, e, 7297, 4417, 2479