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

Input: Consider 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']

Output: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955


Input: Consider Input: ['i', 4077, 'Z', 6231, 2337, 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'd', 1355, 'n'], [505, 'A', 8789, 75, 'q', 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'e', 'r', 'I', 'm', 1525, 3577]

Output: h, 1181, 1631, 2605, 587, 1477, 2707, R, O


Input: Consider Input: [6269, 2887, 8113, 2841, 2459, 'U', 'D', 'o', 'i', 'W', 61, 'O', 9059, 'g', 'd', 7871, 'o', 231, 5399, '7315', 'a', 'm', 'q', '2913', 'D', '2625', '5373', '2979', '2693', '8833', 'G', 'T', '8533', '4249', 'H', '1305', '531', '3753', 'c', '559', '1271', 'D', 'q', 'D', 'y', 5133, 8775, 9003, 'q', 6715, 4211, 'V', 'a', 8075, 'c'], ['F', 2439, 'I', 6637, 7903, 'O', 6945, 'p', 'h', 'x', 'J', 6455, '7315', 'a', 'm', 'q', '2913', 'D', '2625', '5373', '2979', '2693', '8833', 'G', 'T', '8533', '4249', 'H', '1305', '531', '3753', 'c', '559', '1271', 'D', 'q', 'D', 'l', 'c']


Output: 7315, a, m, q, 2913, D, 2625, 5373, 2979, 2693, 8833, G, T, 8533, 4249, H, 1305, 531, 3753, c, 559, 1271, D, q, D