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

Input: Consider Input: [5533, 1777, 525, 1125, 'f', 's', 'c', 'u', 'c', 'T', 'j', '4947', 'S', 'z', 'j', '2697', 'L', '7579', 'p', '7965', '165', 'F', 'b', 5943], [83, 'k', 581, 'e', 'e', 'p', 397, 'I', 'v', 'T', 'j', '4947', 'S', 'z', 'j', '2697', 'L', '7579', 'p', '7965', '165', 'F', 'T', 503, 4925, 'K', 8507, 'V', 'r', 1103, 8441, 7065, 17, 3791, 8703]

Output: T, j, 4947, S, z, j, 2697, L, 7579, p, 7965, 165, F

Input: Consider Input: [4839, 2307, '5609', 'V', 's', '7059', 'N', '3761', 'i', '161', '1987', 'N', 'J', 'h', 'k', 'P'], [2615, 't', 5171, 'V', 'q', '5609', 'V', 's', '7059', 'N', '3761', 'i', '161', '1987', 'N', 'p', 5261, 3251]

Output: 5609, V, s, 7059, N, 3761, i, 161, 1987, N

Input: Consider Input: ['u', 455, 'A', 595, 9561, 791, 'v', 2351, 7733, 3183, 'a', 'G', 4171, 3095, 3953, 3337, 9447, 'A', 'T', 'w', '5515', 'c', 'k', 'K', '7113', '8911', '2245', 'd', 'B', '1605', '2923', 'h', '8333', '8817', 'H', 'v', '7615', '3451', '1085', '8541', '5069', 'A', 'G', 'y', '7547', '8983', '275', '7799', '7501', '5797', 'q', 2297, 7915, 5299, 'f', 'c', 6913, 1403, 5285, 723, 7159, 'h', 5007, 7621, 'F', 2785, 6193, 2179, 'd', 777, 5497], ['q', 3245, 'W', 2129, 'C', 1645, 317, 7209, 'R', '5515', 'c', 'k', 'K', '7113', '8911', '2245', 'd', 'B', '1605', '2923', 'h', '8333', '8817', 'H', 'v', '7615', '3451', '1085', '8541', '5069', 'A', 'G', 'y', '7547', '8983', '275', '7799', '7501', '5797', 'd', 9855, 8855, 1011, 't', 7779, 7873, 7695, 'W', 'z', 'R']
Output: 5515, c, k, K, 7113, 8911, 2245, d, B, 1605, 2923, h, 8333, 8817, H, v, 7615, 3451, 1085, 8541, 5069, A, G, y, 7547, 8983, 275, 7799, 7501, 5797