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

Input: Consider Input: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

Output: 9525, B, o


Input: Consider Input: [337, 2045, 613, 'P', 89, 10003, 'q', 'b', 'n', 6479, 'Y', 'm', 5259, 'c', 9101, 7599, 6353, 5467, 'O', 'U', 'N', 7841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'N', 'w', 7365, 'W', 981, 245, 8933, 'h', 4477, 1395, 'J', 8069, 5313, 'J', 709, 3533, 'b', 8629, 'G', 'P', 'Y', 5397], [3017, 1679, 'O', 'p', 2983, 9493, 4763, 'P', 'Q', 'd', 139, 'i', 2459, 'G', 'c', 299, 'Q', 'Z', 1841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'q', 'k', 825, 'D', 't', 'j', 'T', 6747, 'q', 7211, 'i', 1557, 'f', 7917, 'R', 1325, 6801, 'T', 'Q', 2305, 's', 'K', 'R', 2877, 'p']

Output: S, S, 6141, p, 9427, U, 1347, I, 5193, O, N, s, 1617, e, 2297, X, y, e, 507, R, a, E, q, 4953, 729, T, w, 7017, 8647


Input: Consider Input: [599, 5141, 6195, 5613, 6173, 'q', 'q', '2805', 's', '2925', 'g', 'E', '1711', 'g', 'G', 'e', '3589', 'm', 'V', '3961', '1539', 'L', 4055, 'Z', 'j', 1585, 't', 'D', 8919, 'j', 6247], [7243, 6439, 'h', 'y', 'D', 3455, 2365, 'E', '2805', 's', '2925', 'g', 'E', '1711', 'g', 'G', 'e', '3589', 'm', 'V', '3961', '1539', 'Y', 'I', 'P', 173, 'o', 't', 'D', 'E']


Output: 2805, s, 2925, g, E, 1711, g, G, e, 3589, m, V, 3961, 1539