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

Input: Consider Input: [7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']

Output: 3257, 3693


Input: Consider Input: ['w', 'R', 3317, 'U', 8525, 5689, 'k', 7065, 'u', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'd', 'i', 2151, 5571, 'm', 'e', 2145, 5757, 'S', 1947, 3449, 'v', 8239, 9823, 'A', 9873, 2963, 'l', 'q', 7231, 'L'], ['d', 'H', 5593, 'F', 7939, 9755, 3989, 621, 67, 3663, 6659, 's', 'z', 'v', 'R', 'y', 1483, 6199, 369, 'e', 'E', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'z', 'B', 's', 7893, 'z', 'B', 'A', 5745, 'j', 3619, 'N', 3397, 1045, 'Q', 7795, 8059, 9189, 8603, 'S', 'G', 3003, 5893]

Output: G, 7249, 9213, 8027, N, 7335, G, M, v, z, u, s, N, 9207, k, 8011, u, m, K, 7863, E, X, H, s, 1119, k, 1585, 3651, 3487, U


Input: Consider Input: [4987, 'I', 4953, 'p', 'R', 'Y', 'O', 1265, 'P', 'S', 'p', 'Y', 'I', 'T', 'U', '4103', 'x', 'h', 'm', 'D', '1381', '7053', '7167', '3975', '677', 'U', '6927', '9669', 'k', 9557, 1875, 5723, 8621, 6799, 'D', 3117, 9693, 'Q', 9319, 'o'], ['G', 'H', 'q', 'b', 3359, 7061, 9285, 8953, 3099, 5471, 1335, 'd', 'M', 5931, 245, 'j', 3201, 'z', 'K', 'S', 'p', 'Y', 'I', 'T', 'U', '4103', 'x', 'h', 'm', 'D', '1381', '7053', '7167', '3975', '677', 'U', '6927', '9669', 'G', 5787, 'L', 'M', 'j', 'q', 'r', 5877, 8583, 9611, 'e', 'j', 'Z', 7429]


Output: S, p, Y, I, T, U, 4103, x, h, m, D, 1381, 7053, 7167, 3975, 677, U, 6927, 9669