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

Input: Consider Input: [4041, 'A', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'H', 4635, 7087, 8857, 1057, 1877, 'U', 'V', 7175, 'r', 4599], [801, 8323, 7503, 'U', 381, 'd', 'y', 453, 1687, 'R', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'j', 2559, 3465, 'C', 'I', 5493, 'X', 'r']

Output: 9609, E, r, d, u, S, 7397, 8573, 4893, T, t, K, 7425, E, J, Q, U, 1407, 3419, 1193, H, 7525


Input: Consider Input: ['G', 5429, 'G', 'h', 'i', 4385, 'l', 'w', '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 'l', 6255, 9841, 7339], [5463, 'Y', 1105, 'Z', 6887, 'G', 9653, 'v', 6241, 1865, '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 't', 7945, 'T', 'l', 6697, 'k', 'J', 57]

Output: 4889, j, i, P, 1977, 9281, N, s, y, 3049, E, w


Input: Consider Input: ['d', 6171, 9855, 'D', 'e', '299', 'y', 'U', 'n', 'x', 'f', 2817, 7263, 2945, 'h'], [5759, 2135, '299', 'y', 'U', 'n', 'x', 'g', 2571, 'd']


Output: 299, y, U, n, x