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

Input: Consider Input: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']

Output: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F


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: ['z', 2665, 1063, 525, 9811, 'q', 2619, 'B', 'J', 'q', 'O', 9133, 'd', 'T', 'w', 4571, 403, 'r', 'z', 4605, 'x', 1459, 'c', 2039, 5065, 'Q', '6027', '4667', 'I', '8457', '2187', '1813', '1717', 'W', '633', '9419', '1879', '5817', 'V', 'W', '221', '1979', 'f', '9585', 'n', 'M', 'F', 'Q', 's', 'A', 'I', 'x', 'z', 4239, 'O', 'J'], [3537, 4217, 'M', 'Y', 'i', 'u', 8089, 3787, 'K', 'O', 'n', 7689, 2515, 4591, 'H', 7857, 1903, 7177, 'i', 5177, 9697, 3849, 'l', 1735, 't', 'Q', '6027', '4667', 'I', '8457', '2187', '1813', '1717', 'W', '633', '9419', '1879', '5817', 'V', 'W', '221', '1979', 'f', '9585', 'n', 'M', 'F', 'Q', 's', 'A', 'A', 'K', 9119]


Output: Q, 6027, 4667, I, 8457, 2187, 1813, 1717, W, 633, 9419, 1879, 5817, V, W, 221, 1979, f, 9585, n, M, F, Q, s, A