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

Example Input: ['A', 'f', 's', 619, 'P', '6773', '2907', 'j', 'Y', '3815', '5619', '3681', '1259', 'k', 'k', 'p', '7817', 'e', '1227', 'T', '7201', 'o', 'o', 'W', 'U', 'E', '4881', 'h', '9013', '8427', 'W', 'B', '5309', 'V', 'L'], [7877, 9179, 'B', 'F', 'e', 4663, 'd', 7957, 'F', 'F', 'k', 'f', 8559, 'U', '6773', '2907', 'j', 'Y', '3815', '5619', '3681', '1259', 'k', 'k', 'p', '7817', 'e', '1227', 'T', '7201', 'o', 'o', 'W', 'U', 'E', '4881', 'h', '9013', '8427', 'W', 'B', '5309', 'J', 'R', 't', 'J', 'D', 'U', 'x', 'G', 'y', 'L', 7841, 'g', 's', 8385, 1631, 'Z', 6679, 4419, 'Y', 9253, 3709, 'E', 'a']
Example Output: 6773, 2907, j, Y, 3815, 5619, 3681, 1259, k, k, p, 7817, e, 1227, T, 7201, o, o, W, U, E, 4881, h, 9013, 8427, W, B, 5309

Example Input: ['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']
Example Output: T, 5285, 7837

Example Input: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']
Example Output:
b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955