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

Input: Consider Input: [9605, 301, 3815, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'a', 'T', 'w', 7419, 1721, 3853, 5703], ['J', 1425, 3627, 3619, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'Y', 'R', 4039, 'y']

Output: 3555, 8399, 2421, 6579, I, g, s


Input: Consider Input: [4005, 'l', 'F', 4041, 'D', 5853, 'w', 'U', 'w', 'B', 'R', 'S', 4969, 'i', 3323, 889, 'N', 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'p', 4245, 'H', 'v', 5431, 'q', 'w', 'g', 'u', 'l', 9089, 's', 6469, 'P', 'r'], [625, 'R', 2937, 6877, 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'O', 's', 'k', 'b', 719, 'F', 779, 295, 3669, 'h', 't', 305, 677]

Output: I, T, 3715, l, 7103, 5669, d, 6091, 6783, g, 2319, 5827, l, 9691, 2421, W, 8085


Input: Consider Input: ['K', 'V', 9431, 'j', 5399, 7027, 'E', 's', 'w', 't', '6117', '3083', '6835', 't', '1535', '7597', '5207', 'U', 'S', 6355, 7233, 8541], [3897, 'a', 6765, 647, 's', 'w', 't', '6117', '3083', '6835', 't', '1535', '7597', '5207', 'A', 907, 5489, 6879, 'Q', 5347, 'b', 9521, 69, 'h']


Output: s, w, t, 6117, 3083, 6835, t, 1535, 7597, 5207