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

Input: Consider Input: ['d', 6717, 1947, 'n', 8773, 'E', 7607, 1719, 6751, 'L', 't', '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'k', 7289, 9515, 'G', 'q'], ['W', 8869, 't', 3453, 9177, 'G', 'M', 5171, 'O', 'C', 5097, 'H', 'M', 'U', 4167, 3051, 7487, 7483, 4945, '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'C', 9799, 6659, 's', 6881, 'w']

Output: 3149, y, 7897, L, J, 9557, 6413, H, q, 3055, 5967, 9411, 7869, 8277, 7533, H, 9713, 5981, a, 2937

Input: Consider Input: ['w', 'R', 3317, 'U', 8525, 5689, 'k', 7065, 'u', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'd', 'i', 2151, 5571, 'm', 'e', 2145, 5757, 'S', 1947, 3449, 'v', 8239, 9823, 'A', 9873, 2963, 'l', 'q', 7231, 'L'], ['d', 'H', 5593, 'F', 7939, 9755, 3989, 621, 67, 3663, 6659, 's', 'z', 'v', 'R', 'y', 1483, 6199, 369, 'e', 'E', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'z', 'B', 's', 7893, 'z', 'B', 'A', 5745, 'j', 3619, 'N', 3397, 1045, 'Q', 7795, 8059, 9189, 8603, 'S', 'G', 3003, 5893]

Output: G, 7249, 9213, 8027, N, 7335, G, M, v, z, u, s, N, 9207, k, 8011, u, m, K, 7863, E, X, H, s, 1119, k, 1585, 3651, 3487, U

Input: Consider Input: ['a', 'y', 8071, 6669, 'n', 'W', '3619', 's', 'E', 'N', '8415', '4641', 'j', '8547', 'R', '9243', '1719', '6621', 'C', 'u', '7705', 'S', 'X', '7745', '8721', 'I', 'C', 'X', 'G', 3867, 9407, 'r', 'S', 8697, 'O', 3723, 'v', 6917, 4443, 'o', 5157, 5707, 3213, 1655], [8441, 9625, 'f', 6485, 'g', 7121, 6529, 1579, 8739, 10005, 43, 495, 81, 'n', 'W', '3619', 's', 'E', 'N', '8415', '4641', 'j', '8547', 'R', '9243', '1719', '6621', 'C', 'u', '7705', 'S', 'X', '7745', '8721', 'k', 9113, 1851, 'm', 'R', 9685, 'L', 525, 'g']
Output: n, W, 3619, s, E, N, 8415, 4641, j, 8547, R, 9243, 1719, 6621, C, u, 7705, S, X, 7745, 8721