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

Input: Consider Input: [8827, 'K', 7387, 7215, 'Y', '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'y', 'R', 7083, 'U', 3361, 'u', 'b', 'M', 5833, 'D', 7509, 'D'], ['Y', 4615, 'l', 2547, '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'b', 'W', 3225, 291, 2681, 'Z', 'k', 8059, 'A', 7261, 4877, 2019, 'g', 4621, 4541, 3343, 997, 6091, 5577, 'q']

Output: 4759, V, l, 5621, 391, V, 6741, O, 3153, 4133, 2785, 8699, 9719, 1445, 487, m, 3969, u, u, 8779


Input: Consider Input: ['w', 9889, 'I', '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'Q', 4079, 8567, 5331, 6035, 't', 6147, 5597, 6117, 'w', 'g', 'R', 'G', 7597, 581, 8473], ['T', 'B', 1003, 'E', 5935, 'a', 7777, 'N', 't', 'w', 9123, 965, 'F', 9067, 'g', 6129, 6545, 977, 'r', 'H', 6793, '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'V', 2257, 323, 'T', 'c', 'w', 3529, 9379, 'J', 779, 'W', 'd']

Output: 8971, 7631, 9073, Y, O, R, q, 8353, 6125, 8191, x, 3121, Z, 7817, x, K, 9307, A, 19, 2297, C, Y, t, D


Input: Consider Input: [7917, 5343, 'N', 'A', 'Q', 'z', 'N', '4387', 'r', 'r'], ['K', 'B', 'O', 'Q', 'z', 'N', '4387', 'K', 'j']


Output: Q, z, N, 4387