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

Example Input: ['J', 8283, 'c', 1349, 'Z', 5795, 3153, 'w', 3769, 'M', '5425', 'g', '749', '2655', 'L', '5235', '7797', 'q', '8589', 'V', '4057', 'Q', 'y', 'P', 'W', '1223', 'V', '6029', 'P', 'x', 'v', '7111', 'x', '511', 's', 'N', 8363, 4645, 8599, 'B', 5111, 'k', 3627, 3245, 'e', 'h', 'X', 'U', 437, 4871, 3567, 8775, 7393, 2135, 4321, 1223], ['y', 'e', 4857, 'U', 4951, 6477, 6435, '5425', 'g', '749', '2655', 'L', '5235', '7797', 'q', '8589', 'V', '4057', 'Q', 'y', 'P', 'W', '1223', 'V', '6029', 'P', 'x', 'v', '7111', 'x', '511', 'c', 8651, 2433, 219, 'E', 9299, 'R', 'C', 'B', 'n', 'I', 8513, 4973, 3979, 'R', 'g', 'C', 'f', 8713, 3227, 4085, 1055, 'Z']
Example Output: 5425, g, 749, 2655, L, 5235, 7797, q, 8589, V, 4057, Q, y, P, W, 1223, V, 6029, P, x, v, 7111, x, 511

Example Input: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]
Example Output: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w

Example Input: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]
Example Output:
P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723