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

Input: Consider Input: ['r', 9177, 1593, 9315, 'C', 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'A', 2489, 3955, 1603, 6355], ['I', 'W', 7673, 'm', 'E', 9111, 4177, 9355, 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'v', 9065, 2309, 5041, 1047, 1263, 'V', 3483]

Output: Z, w, X, 1005, 185, 837, p, 2923, Y


Input: Consider Input: ['q', 'm', 6141, 3531, 7325, 6995, 523, 'o', '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'v', 7873, 'Q', 6365, 7655, 'C', 'O', 'f', 'Y', 1873, 5445, 7655, 2433, 'X', 1025, 'm', 6499, 'c', 'W', 'S'], ['M', 9393, 'M', 'Z', 7735, 519, '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'C', 8319, 649, 'w', 'G', 3879, 2781, 'L', 'S']

Output: 4461, 8613, W, V, 3673, z, W, 507, 201, i, 881, M, o, 8623, 5931, 8651, 7165, d, r, 9659


Input: Consider Input: [3279, 'r', 5279, 361, 5367, 'E', 'N', 8835, 'f', 'O', 'c', 4759, 'O', 'i', 665, 4411, 8807, 2349, 'm', 7739, 'o', 'O', 'y', '2171', 'd', '9153', 'r', 'w', 'O', '7955', 's', '6475', 'U', 'y', 'Z', '6553', '4105', '6013', '9719', '3623', 'x', '9689', 'K', 'L', '2623', 'W', 'j', 'P', 'l'], ['i', 'a', 9321, 'C', 7785, 4641, 'W', 3783, 3597, 9247, 4829, 2791, 'S', 'f', 925, 2505, 1511, 1667, 479, 'S', '2171', 'd', '9153', 'r', 'w', 'O', '7955', 's', '6475', 'U', 'y', 'Z', '6553', '4105', '6013', '9719', '3623', 'x', '9689', 'K', 'L', '2623', 'W', 'j', 'K', 'L', 8801, 1777, 'X', 1871, 'M', 1877, 1573, 'k', 'h', 'F', 9641, 1839, 'U', 'K', 'w']


Output: 2171, d, 9153, r, w, O, 7955, s, 6475, U, y, Z, 6553, 4105, 6013, 9719, 3623, x, 9689, K, L, 2623, W, j