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

Ex Input:
[7247, 1163, 3573, 'Q', 'j', 'W', 'Z', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'M', 9599, 'n', 'V'], ['m', 5641, 4917, 'p', 'L', 4811, 'W', 9443, 2931, 6127, 't', 'H', 'O', 'V', 'S', 'A', 1447, 'Y', 'O', 6005, 9461, 'l', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'o', 'X', 'E', 'O', 7153, 'c', 'q', 'a', 3629, 'k']

Ex Output:
9033, 57, W, 5259, Z, 3169, t, 5065, 8825, s, 4051, 8469, 401, U, 4069, E, V, 8889, S, D, t, 7323, c, 2987, J, D, 3061


Ex Input:
[3119, 'a', 3299, 'R', 4993, 'Z', 3945, 2251, 'L', 'b', 'p', 9607, 'm', 'T', 'd', 'D', 3061, 7609, 'u', 'b', 'M', 'y', '573', '8299', '6699', '9529', '4279', '3041', '179', '9953', '9107', 'A', 'M', '4513', '4915', 'G', 'e', '5871', '8555', '6957', '1457', '9445', 'g', 'z', 'z', 'q', 'T', 'E', 'H', 6809, 1237, 6021, 'D', 'F', 8119, 1163, 'Q', 'D', 3223, 'D', 3125], ['q', 'y', 'T', 4457, 'I', 'v', 'T', 'o', 2925, 9225, 'h', 9875, 5479, 1831, 'z', 6931, 449, 7921, 7791, 2891, 4657, 'y', '573', '8299', '6699', '9529', '4279', '3041', '179', '9953', '9107', 'A', 'M', '4513', '4915', 'G', 'e', '5871', '8555', '6957', '1457', '9445', 'g', 'z', 'z', 'q', 'O', 'k', 2265, 5061, 'z', 'y', 'Q', 'J', 2665, 5157, 4675, 'D', 6509, 'Q', 177, 'w']

Ex Output:
y, 573, 8299, 6699, 9529, 4279, 3041, 179, 9953, 9107, A, M, 4513, 4915, G, e, 5871, 8555, 6957, 1457, 9445, g, z, z, q


Ex Input:
[8841, 'V', 'Z', '5467', '5821', '6787', '2823', 'b', 'B', 'L'], ['l', 'd', 'C', '5467', '5821', '6787', '2823', 'b', 'i', 8319]

Ex Output:

5467, 5821, 6787, 2823, b