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

Input: Consider Input: ['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]

Output: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365


Input: Consider Input: ['R', 'r', 153, 'P', 1715, 757, 'K', 685, 1275, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'l', 8075, 'x', 3879, 'g', 1215, 2387, 'E', 9305, 'L', 't', 'B', 7409, 7623, 7913], ['A', 'P', 'm', 5825, 'S', 2069, 7235, 4509, 'K', 6535, 979, 'f', 9051, 2423, 'R', 'l', 'q', 9429, 'l', 803, 'j', 2081, 5321, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'z', 9157, 5891, 'g', 'z', 707, 4039, 293, 'S', 'B', 'b', 2399, 'l', 1277, 'F', 3399, 1459]

Output: 9653, 3305, 853, s, f, y, v, d, E, 4893, 9515, O, 9527, R, C, 8621, P, O, s, 1455, 5259, 5561, 5147, G, e


Input: Consider Input: [4779, 3605, 'o', '1917', 'E', 'F'], [1553, 'j', 'o', '1917', 'O', 'H']


Output: o, 1917