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

Input: Consider Input: [6551, 'm', 4517, 'K', 9519, 'N', 6797, 'A', 'a', 5043, 2961, 1305, 'J', 'M', 'g', 5639, 6235, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'P', 'd', 9867, 6599, 'W', 'N', 4217, 'c', 5009], ['t', 9641, 7799, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'U', 'f', 8123, 'U', 3339, 4751]

Output: 9717, 6917, 7949, e, 2855, V, 4493, G, 375, e, 9909, J, t, N, 4535, 9963, 8917, W


Input: Consider Input: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']

Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K


Input: Consider Input: [8197, 'u', 'K', 3505, 6593, 'H', 's', 1433, 'b', '3967', 'G', 'n', 'j', '1589', '5379', '5465', '3983', '4557', '7035', 'g', '493', 'S', 'O', 'L', 'y', 3329, 1411, 'g'], [8465, 1141, 8321, 'r', '3967', 'G', 'n', 'j', '1589', '5379', '5465', '3983', '4557', '7035', 'g', '493', 't', 'P', 'm', 6031, 193, 1563]


Output: 3967, G, n, j, 1589, 5379, 5465, 3983, 4557, 7035, g, 493