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

Input: Consider Input: [7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Output: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Input: Consider Input: [6701, 6237, 6695, 2775, 9339, 3061, '5783', '3345', '2919', '6471', '4569', '1213', '7315', 'K', '1913', 'R', '4489', 'G', '1231', '9701', '11', '4737', '4497', '7677', 's', 'V', 945, 6657, 'L', 8813, 'e', 'C', 'Q'], ['O', 'P', 'b', 2035, 'Q', 'k', 'T', 'A', 2991, 'Y', 'Y', 'a', '5783', '3345', '2919', '6471', '4569', '1213', '7315', 'K', '1913', 'R', '4489', 'G', '1231', '9701', '11', '4737', '4497', '7677', 's', 'j', 'd', 'R', 'a', 2073, 7219, 9273, 'c', 287, 5233, 'I', 'E', 1219, 'j', 'X', 'j']

Output: 5783, 3345, 2919, 6471, 4569, 1213, 7315, K, 1913, R, 4489, G, 1231, 9701, 11, 4737, 4497, 7677, s


Input: Consider Input: ['W', 1809, 6311, 'g', 1407, 'G', '7047', 'b', 'o', '6237', 'T', 'E', 'q', 'y', 'e', 'F', 'O', 'Y', '5733', '3639', 'C', 'R', 'g', 'A', 'i', 'g', 'F', '8453', '8253', '1897', 'G', '1085', 'E', 6071, 'P', 'j', 567, 'S', 'D', 3519, 4393, 'b', 7449, 'j', 'u', 9455, 4309, 6323], [3865, 4861, 'z', 7705, 'p', 'N', 'F', 'l', 6119, 5177, 'U', 't', 2161, 'B', 9201, 2821, 'l', 7083, 431, 6533, 9795, 1691, 'G', 3795, 'S', 'P', 'G', '7047', 'b', 'o', '6237', 'T', 'E', 'q', 'y', 'e', 'F', 'O', 'Y', '5733', '3639', 'C', 'R', 'g', 'A', 'i', 'g', 'F', '8453', '8253', '1897', 'G', '1085', 'F', 5989, 7729, 4175, 1195, 'w', 8979, 'D', 9633, 5543, 7881, 'F', 4097, 2851, 9165, 'c', 'W', 'c', 2221, 1767, 'V', 'c', 'F', 6385]


Output: G, 7047, b, o, 6237, T, E, q, y, e, F, O, Y, 5733, 3639, C, R, g, A, i, g, F, 8453, 8253, 1897, G, 1085