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

Example Input: [5555, 'e', 'k', '4653', 'S', 'q', 'o', 'z'], [8655, 3981, 'k', '4653', 'S', 'q', 'k', 8991, 8619, 's']
Example Output: k, 4653, S, q

Example Input: ['s', 'u', 'I', 't', '5653', '1351', 'p', 'n', 'V', '4089', '3689', 'D', '8733', 'e', 'h', '7295', '3557', 'i', '3711', '953', '1577', '2329', '261', '559', 'J', 'n', 'V', 7375, 'p'], ['a', 7915, 'C', 'G', 7485, 1217, 'k', 'w', 'Z', 7599, 'E', '5653', '1351', 'p', 'n', 'V', '4089', '3689', 'D', '8733', 'e', 'h', '7295', '3557', 'i', '3711', '953', '1577', '2329', '261', '559', 'J', 'n', 'Z', 7089, 'N', 1657, 'T', 5555, 5727, 1115, 'G', 'e']
Example Output: 5653, 1351, p, n, V, 4089, 3689, D, 8733, e, h, 7295, 3557, i, 3711, 953, 1577, 2329, 261, 559, J, n

Example Input: ['f', 'c', 'K', '7511', '4667', '4429', '9541', 'i', 'W', 'F', 7533, 3501], [4253, 'v', 'b', 1259, 3735, 8353, 'K', '7511', '4667', '4429', '9541', 'i', 'L', 'U', 'C']
Example Output:
K, 7511, 4667, 4429, 9541, i