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

Input: Consider Input: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]

Output: 3783, n, k, 327, t, 9871, 233


Input: Consider Input: ['j', 'p', 'D', 9209, 'f', 1443, 'z', 'U', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'Z', 9799, 9741, 'i', 'V', 'b', 'V'], ['G', 6339, 'X', 5119, 'J', 7027, 983, 'G', 'y', 9973, 'c', 'o', 'B', 'J', 3491, 203, 2983, 'G', 9139, 'J', 789, 7833, 'F', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'P', 'u', 'u', 5483, 'P', 2187, 6807, 'T', 'F', 'h', 4425, 's', 'P', 7479, 9675, 3149, 'X', 5605, 8475, 8771, 9483, 3901, 'Y']

Output: 2781, 2633, p, o, H, L, g, 9879, 1659, 2721, Y, 4045, 2453, S, H, m, X, 6465, u, f, P, h, 4585, 2353


Input: Consider Input: ['J', 'K', 'H', 1375, 'M', 5895, 'E', 7167, 6129, 'M', 2605, 1005, 'L', '5043', '2599', '6035', '7845', 'I', 'j', 's', '3269', '5501', 'f', 'O', '5001', 'O', 'V', '6299', 'z', 'x', 'Y', '373', 'P', 1131, 'W', 2847, 'i', 1881, 'I', 9201, 'U', 1087, 'P', 'd', 7885, 'n', 6389, 'a', 8555, 657, 1193], ['C', 'q', 6283, '5043', '2599', '6035', '7845', 'I', 'j', 's', '3269', '5501', 'f', 'O', '5001', 'O', 'V', '6299', 'z', 'x', 'Y', '373', 'Y', 'j', 3757, 'Z', 3397, 9903, 331, 2187, 7995, 'j', 4827, 9913, 2817, 'O', 9287, 'f', 9299, 7767]


Output: 5043, 2599, 6035, 7845, I, j, s, 3269, 5501, f, O, 5001, O, V, 6299, z, x, Y, 373