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

Input: Consider Input: [6475, 9471, 3883, 'k', 3715, 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 's', 'g', 'G', 9013, 1643, 619, 'b', 'k', 'z', 'd', 'w', 'E', 7989, 'o', 'C', 'Y'], [3391, 's', 5761, 9389, 6131, 'a', 1723, 451, 4781, 'S', 8389, 'l', 'P', 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 'D', 7661, 885, 'J', 7381, 2713, 1355, 451, 'N', 'P', 'T', 5127, 8301, 1891, 9947, 'x', 7295]

Output: h, 4275, 3019, 9711, d, 7655, j, Y, H, f, 3135, 9479, K, E, J, 9713, 6953


Input: Consider Input: [1057, 8997, 6853, 1935, 't', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'v', 'Q', 'L'], [2553, 'S', 'E', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'Q', 'S', 4853, 1079, 7087, 'W', 'k']

Output: 3929, 9627, 4599, c, W, S, 7893, 2409, 6647, q, 3657, 3959, 7725


Input: Consider Input: [3659, 4455, 'G', 'i', 'O', '8317', '7627', 'l', 'F', '9599', '4585', 'h', '3563', 'W', '7449', 'P', 'o', 1425], ['S', 1449, 'J', 'H', 535, 1517, 'q', '8317', '7627', 'l', 'F', '9599', '4585', 'h', '3563', 'W', '7449', 'P', 'M', 'a', 8079]


Output: 8317, 7627, l, F, 9599, 4585, h, 3563, W, 7449, P