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

Input: Consider Input: ['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']

Output: 8037, 2095


Input: Consider Input: ['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']

Output: 997, n, 631, 527, E, A, n, n, G, 1197, R, L


Input: Consider Input: ['V', 8923, 'l', 7203, 'c', 4533, 'x', 'o', 6945, 'S', '1123', '599', 'C', 'L', '1033', 'J', '6939', 'L', 'd', '9691', '821', '3325', 'T', '9677', '5151', '9179', 'i', 'Y', 'x', 'Q', '8453', '3785', '4559', '1321', '5053', '4037', 'O', '103', 'p', 1087, 7555, 5623, 'W', 'S', 'f', 1229, 'e'], ['V', 'n', 9521, 4847, 'j', 9003, 7469, 'S', 75, 'F', 'd', 'a', 8127, 7695, 7427, 'S', '1123', '599', 'C', 'L', '1033', 'J', '6939', 'L', 'd', '9691', '821', '3325', 'T', '9677', '5151', '9179', 'i', 'Y', 'x', 'Q', '8453', '3785', '4559', '1321', '5053', '4037', 'O', '103', 'O', 9873]


Output: S, 1123, 599, C, L, 1033, J, 6939, L, d, 9691, 821, 3325, T, 9677, 5151, 9179, i, Y, x, Q, 8453, 3785, 4559, 1321, 5053, 4037, O, 103