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

Input: Consider Input: ['s', 'J', 2223, 'y', 'v', '9315', '8837', 'z', '8583', 'o', 'c', 'V'], ['E', 5699, 1225, 'f', '9315', '8837', 'z', '8583', 'o', 'u', 'j']

Output: 9315, 8837, z, 8583, o


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: [8407, 'I', 'X', 'f', 'i', 5139, 'K', 'B', '2409', 'C', '3087', 'c', '6019', '4401', 'y', 'm', '8181', 'N', '6819', 'b', '2635', 'u', 2359, 'o', 'F', 5963, 'o', 'G', 'D'], ['d', 1711, 2041, 'a', 'B', '2409', 'C', '3087', 'c', '6019', '4401', 'y', 'm', '8181', 'N', '6819', 'b', '2635', 'n', 1175, 'N', 7593, 'q', 'c']


Output: B, 2409, C, 3087, c, 6019, 4401, y, m, 8181, N, 6819, b, 2635