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

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: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]

Output: 8587, b


Input: Consider Input: ['o', 'K', 'W', 'M', 'T', 'M', 'P', '3153', 'a', '9815', '9871', 't', '5415', '5365', 'q', 'R', 'k', '8667', 'N', 'w', 'G'], [6829, 'A', 'U', 'a', 'p', 'y', 'h', 'L', 7215, 'W', 'M', 'T', 'M', 'P', '3153', 'a', '9815', '9871', 't', '5415', '5365', 'q', 'R', 'k', '8667', 'N', 'L', 9881, 5359, 's', 'J']


Output: W, M, T, M, P, 3153, a, 9815, 9871, t, 5415, 5365, q, R, k, 8667, N