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

Input: Consider Input: [4183, 'U', 7363, 'G', 'p', 'm', 5967, 7979, 'o', 6465, 1603, 'a', 'U', 539, 'V', 867, 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 'P', 1783], [4781, 4033, 'M', 'W', 4561, 'Z', 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 's', 4093, 201, 'i', 'Y', 'S', 2227, 'C', 5375, 1627]

Output: z, 9291, 3659, X, 9869, S, 7001, 347, F, 1433, c, J, 6113, H, d, J, 8705


Input: Consider Input: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]

Output: N, Z, q, A, w, r, N, 6611, r, 8975, b, T


Input: Consider Input: ['Y', 'k', 3675, 'c', 'N', 'p', 3419, 2433, 'A', 'p', '391', 'c', 'g', '3603', '1333', 'u', '6243', '6271', 'v', '4101', 'B', '313', '2205', 'V', '1259', 'O', 't', 'H', 'K', 'x', 991, 1909, 3073, 3489, 1565, 'i', 1871, 165, 51, 'E', 'n', 7431, 'Y', 'J', 'j'], ['a', 8693, 673, '391', 'c', 'g', '3603', '1333', 'u', '6243', '6271', 'v', '4101', 'B', '313', '2205', 'V', '1259', 'O', 't', 'H', 'J', 1327, 'o', 7123, 'G', 'c', 9377, 6021, 5615, 8567, 2891, 3189, 'x', 'U', 7039]


Output: 391, c, g, 3603, 1333, u, 6243, 6271, v, 4101, B, 313, 2205, V, 1259, O, t, H