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

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: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]

Output: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331


Input: Consider Input: ['S', 1843, 2639, 'R', 'x', 'D', 3901, 2877, 8813, 4451, 'z', '7845', 'O', 'x', 'S', '4229', 'd', 'Q', '1809', '8595', 'O', '5057', '1715', 'Z', '4899', '1401', 'V', 'r', 'L', 'D', 5199, 'D'], ['X', 'e', 'S', 'h', 'a', 6049, 'm', 'f', 5227, 'z', '7845', 'O', 'x', 'S', '4229', 'd', 'Q', '1809', '8595', 'O', '5057', '1715', 'Z', '4899', '1401', 'L', 2691, 825, 2191, 1321, 8477, 7509, 'L', 'V', 'x', 5579, 5927, 7391, 'O', 'Q']


Output: z, 7845, O, x, S, 4229, d, Q, 1809, 8595, O, 5057, 1715, Z, 4899, 1401