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

Input: Consider Input: ['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]

Output: U, e, 1183, 9537, K, e, p


Input: Consider Input: [4043, 'H', 'i', 'P', 'l', 4101, 5503, '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'N', 5083, 'z', 9883, 7117, 'D', 'B', 'b', 'Z', 483, 1565, 'N', 8227, 8593, 7323, 4913, 'H', 1479], ['B', 'A', 'N', 921, 'D', 'F', 1033, 1657, 'o', 9311, 8003, 'X', 3383, 4519, 'b', '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'p', 'C', 'j', 1835, 'b', 'm', 'H', 'n', 'a', 'h', 'Z', 'E', 5271, 467, 5481]

Output: 5275, 3425, c, u, M, R, A, f, 7407, 3805, 1547, 1077, P, 7387, z, g, 9607, 299, 9561, 1203, 3189, h


Input: Consider Input: [9881, 7753, 'i', 'j', '2949', '9461', '3633', '789', 'U', 7815], ['x', 'z', 'j', '2949', '9461', '3633', '789', 'l', 8475]


Output: j, 2949, 9461, 3633, 789