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

Example Input: [6559, 2255, 'n', '9599', '4415', 'B', 3911, 4867], ['A', 6419, 'n', '9599', '4415', 'T', 'n', 3281]
Example Output: n, 9599, 4415

Example Input: [8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]
Example Output: 4295, 5675, a, 5585, q, 5785, 9081, U, s

Example Input: [2377, 'B', 'S', 'X', 'l', 7039, 2759, 'q', 'P', 'K', 8659, 477, 1831, 't', 'x', 'O', '6491', 'F', '479', '1587', '8095', 'P', '453', '9075', '9909', '2595', 'e', '7051', '7307', '8057', 'M', 'n', 'O', 'P', 'Q', 8437, 'v', 3887, 'Y'], [8809, 7975, 7327, 1275, 5045, 'E', 4437, 'Q', 1703, 'e', '6491', 'F', '479', '1587', '8095', 'P', '453', '9075', '9909', '2595', 'e', '7051', '7307', '8057', 'M', 'n', 'Z', 619, 757, 'e']
Example Output:
6491, F, 479, 1587, 8095, P, 453, 9075, 9909, 2595, e, 7051, 7307, 8057, M, n