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

Input: Consider Input: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]

Output: 7587, 521, a, 1617, 5245, 5629, 9977


Input: Consider Input: [6475, 9471, 3883, 'k', 3715, 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 's', 'g', 'G', 9013, 1643, 619, 'b', 'k', 'z', 'd', 'w', 'E', 7989, 'o', 'C', 'Y'], [3391, 's', 5761, 9389, 6131, 'a', 1723, 451, 4781, 'S', 8389, 'l', 'P', 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 'D', 7661, 885, 'J', 7381, 2713, 1355, 451, 'N', 'P', 'T', 5127, 8301, 1891, 9947, 'x', 7295]

Output: h, 4275, 3019, 9711, d, 7655, j, Y, H, f, 3135, 9479, K, E, J, 9713, 6953


Input: Consider Input: [9367, 'j', 6777, 'Q', 3257, 'K', 'T', 'w', 'C', 8725, 'I', 'D', 4999, 'm', '8483', 'n', 'c', 'T', 'q', '6325', '8581', '5431', '3801', '1571', '1187', 'I', 'I', 'V', 'r', '5929', 'B', '8901', 'l', 'N', 'K', 'x', 'K', 'M', 'b', 6383, 'o', 'h', 'u', 8677, 6335, 9929, 6759, 'B', 7239, 'P', 6587], [8675, 'u', 2891, 1835, 'a', 5619, 6537, 5137, 'L', 'm', '8483', 'n', 'c', 'T', 'q', '6325', '8581', '5431', '3801', '1571', '1187', 'I', 'I', 'V', 'r', '5929', 'B', '8901', 'l', 'r', 'h', 'B', 5881, 6591, 'R', 'd', 'M', 'f', 'E']


Output: m, 8483, n, c, T, q, 6325, 8581, 5431, 3801, 1571, 1187, I, I, V, r, 5929, B, 8901, l