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

Input: Consider Input: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]

Output: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w


Input: Consider Input: [3007, 9911, 'b', 2015, 'P', 'D', 'S', 91, 'G', 'Q', 'g', 'r', 'M', 'I', 'S', 3911, 'Q', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'Y', 2705, 't', 9889], ['l', 3713, 10005, 9299, 'i', 'V', 'v', 6969, 1775, 6541, 6827, 'S', 1677, 1181, 'C', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'p', 557]

Output: i, d, 6005, B, g, 1179, 5719, L, E, b, c, a, E, n, R, 8111, A, 3377


Input: Consider Input: ['N', 'w', 6091, '7585', 'p', '2197', 'D', 'v', 'C', '235', '8275', 'D', '497', '6039', 'z', '313', '1033', 'u', 2517, 7987, 7673, 'Z', 'h', 'j'], [5995, 4689, 'Q', '7585', 'p', '2197', 'D', 'v', 'C', '235', '8275', 'D', '497', '6039', 'z', '313', '1033', 'O', 7533, 9015, 2859, 's', 'p']


Output: 7585, p, 2197, D, v, C, 235, 8275, D, 497, 6039, z, 313, 1033