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

Input: Consider Input: [901, 'l', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'g', 'R', 'r', 1103, 9941, 'A', 'b'], [9075, 'z', 'w', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'G', 245, 865, 'x', 2117, 'G', 'w', 'Q', 6337, 'I', 'B']

Output: 4509, 5969, 517, T, G, 3221, E, f, c, 7993, R, I


Input: Consider Input: ['m', 'R', 1791, 'v', 5547, 'p', 'j', 5069, 8061, 'G', 's', 1521, 2285, 1963, 'n', 'a', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'a', 6921, 'e', 7497, 'Y', 'p', 451, 'f', 6413, 3785, 1601, 3193, 'i'], [9375, 2255, 'j', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'f', 'K']

Output: 4537, X, Z, 8981, W, u, 827, 4681, 2433, 3179, p, a, 4675, r, 3527, 3021, 6363, o, E


Input: Consider Input: [9773, 7741, 7655, 1915, 7185, 2335, 5795, '2733', 'j', '4505', 'e', 'F', '8291', '1635', '7783', 'C', '3529', 'Y', 'i', '1461', 'o', 'a', '6811', '3845', '2743', 'c', 'T', 'w', '1051', 'M', 'y', 'W', '1655', 'L', '9635', 'L', 'P', 2253, 1017, 1871, 7145, 5781, 1137, 8479, 'J', 'E', 'A', 'C', 'o', 'n', 'Q', 'U'], [6799, 9125, '2733', 'j', '4505', 'e', 'F', '8291', '1635', '7783', 'C', '3529', 'Y', 'i', '1461', 'o', 'a', '6811', '3845', '2743', 'c', 'T', 'w', '1051', 'M', 'y', 'W', '1655', 'L', '9635', 'Q', 3895, 4495, 4865, 9067, 2011, 'd', 'r', 4285, 5163, 's', 8739, 's', 'u', 7117]


Output: 2733, j, 4505, e, F, 8291, 1635, 7783, C, 3529, Y, i, 1461, o, a, 6811, 3845, 2743, c, T, w, 1051, M, y, W, 1655, L, 9635