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

Input: Consider Input: [1065, 2741, 'w', 'B', 'X', '5865', 's', '2579', '3679', 'K', 4415, 5237], [9019, 4795, 8363, 1935, 9883, 'X', '5865', 's', '2579', '3679', 'y', 4605, 8603, 1243, 9199]

Output: X, 5865, s, 2579, 3679


Input: Consider Input: [2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]

Output: k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k


Input: Consider Input: ['C', 'a', 5497, 9507, 3731, 'Y', 'x', 'd', 'P', 1947, 'o', '7837', '1187', 'p', 'G', '9081', 'K', 'i', 'N', 'A', '9217', 'u', 7299, 3519], [1919, 4937, 'R', 'o', '7837', '1187', 'p', 'G', '9081', 'K', 'i', 'N', 'A', '9217', 'l', 't', 5305]


Output: o, 7837, 1187, p, G, 9081, K, i, N, A, 9217