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', 5215, 'X', 4785, 6947, 5893, 7053, 't', 5871, 'k', 1691, 'Z', 2873, 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 't', 'X', 'A', 'W', 5429, 8573, 'F', 'G', 'm', 's', 167, 9123, 6207, 9613, 2093, 'V', 3531], [5343, 'Y', 'l', 'V', 8421, 3519, 5427, 'E', 'S', 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 'z', 'R', 'l', 1275, 5871, 9461, 2255, 'K', 6005, 3441, 4125, 2315, 'R', 7447, 4823, 785]

Output: J, 887, 247, t, 7731, 8425, 3371, o, 5243, 8871, 2477, E, w, D, r, 8971, J, 549


Input: Consider Input: [2787, 'N', 'I', 'M', 'x', '3825', 'r', '1041', 'y', 'a', 'v', 6057], ['F', 6523, 'x', '3825', 'r', '1041', 's', 'C', 3001, 8425]

Output: x, 3825, r, 1041


Input: Consider Input: ['o', 'f', '955', 'y', 'O', 2181], ['M', 'l', '955', 'y', 'h', 5209]


Output: 955, y