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

Input: Consider Input: ['x', 'H', 'i', 1013, 5655, 'y', 4853, 'Q', 1209, 'w', 'w', 'a', 'w', 7329, '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'i', 'w', 4131, 867, 'y', 3835, 'o', 't', 1181, 4425, 'P'], ['J', 4263, 'Z', 9575, 'W', 'h', 'j', 9697, 4711, 'D', 9269, 1163, 7659, 8523, 'f', 'W', 'L', 'h', 'i', '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'n', 'i', 71]

Output: 961, j, 1783, 7579, e, 6525, Y, K, P, 293, 4793, 7251, 531, 3813, 4103, o, 6039, 9175, 3041, p, D, u, 7075, G


Input: Consider Input: [5179, 's', 7203, 4301, 3441, 'k', 'P', 't', 'r', 3027, 's', 3809, 'u', 'S', 'h', 5087, 'z', 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'z', 'V', 'l', 521, 9401, 3845, 6245, 3437, 'w', 'u'], ['u', 4399, 'R', 'v', 'x', 1061, 7505, 'r', 8411, 'o', 9285, 477, 3823, 'O', 'B', 2731, 5879, 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'G', 9613, 8995, 3881, 'i', 'G', 't', 2473, 1297, 7481, 'v', 'a', 7607, 1147, 3263, 'p']

Output: a, b, 3333, 6041, 2765, q, 9485, 7697, E, 509, Q, 1573, 4879, 1197, 4515, k, c


Input: Consider Input: ['T', 5485, 8845, 'x', 6637, 2227, '2687', 'g', '3657', 'e', 'k', 'M', '7441', 's', 'H', 'I', '6643', '8011', 'r', 'D', 'y', 'V', 6819, 3977, 'V', 77, 'l', 'm'], [3097, 'K', 7577, 1161, 'I', 2151, 'Z', 'n', '2687', 'g', '3657', 'e', 'k', 'M', '7441', 's', 'H', 'I', '6643', '8011', 'r', 'D', 'Q', 'u', 'P']


Output: 2687, g, 3657, e, k, M, 7441, s, H, I, 6643, 8011, r, D