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

Input: Consider Input: ['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]

Output: 4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011


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: ['S', 4721, 't', 8829, 329, 'r', 3499, 2007, 'w', 69, 'B', 'J', 'y', 4475, 'B', 'J', 'm', 'F', '6543', '2847', '2393', 't', 'S', 'g', 'x', 'k', '8775', 'Q', '7083', '1493', '6771', '6581', 'N', '1175', 'L', 'Y', '8601', 'C', 'm', 'f', 'W', 'H', 6533, 5195, 'L', 'R', 'P', 'o', 9815, 5455, 'q', 2399, 9587, 3521, 9501], ['J', 4719, 'V', 'u', 2539, 'D', 8013, 3873, 425, 9083, 'S', 4069, 'm', 'F', '6543', '2847', '2393', 't', 'S', 'g', 'x', 'k', '8775', 'Q', '7083', '1493', '6771', '6581', 'N', '1175', 'L', 'Y', '8601', 'C', 'm', 963, 'G']


Output: m, F, 6543, 2847, 2393, t, S, g, x, k, 8775, Q, 7083, 1493, 6771, 6581, N, 1175, L, Y, 8601, C, m