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

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

Output: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


Input: Consider Input: [5307, 'b', 'I', '9451', 'W', 7941], [8087, 'U', 'I', '9451', 'g', 'I']

Output: I, 9451


Input: Consider Input: ['A', 'b', 'M', 'Q', 'J', 'c', 'I', 's', 'U', '5241', 'e', 'J', 'S', 't', '1287', 'p', 'x', 'k', '3009', 'O', '9137', 'i', '7701', '6999', '3275', '7075', '7321', '841', '2175', 'L', '1479', 'u', 'S', 'j', 'k', 'N', 'S', 'b', 9641, 'v', 1235, 'o', 'j', 'e', 6289, 'g', 4823, 'R', 'c', 'x', 'd', 6231], [8449, 4007, 313, 1259, 'q', 'J', 'c', 'I', 's', 'U', '5241', 'e', 'J', 'S', 't', '1287', 'p', 'x', 'k', '3009', 'O', '9137', 'i', '7701', '6999', '3275', '7075', '7321', '841', '2175', 'L', '1479', 'u', 'S', 'j', 'r', 'b', 'g', 8071, 'V', 9509]


Output: J, c, I, s, U, 5241, e, J, S, t, 1287, p, x, k, 3009, O, 9137, i, 7701, 6999, 3275, 7075, 7321, 841, 2175, L, 1479, u, S, j