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

Ex Input:
[5363, 'h', 3845, 6217, 2315, 'm', 'O', 5573, 4601, 7145, 9561, 'q', 'r', 'T', '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'Y', 9545, 6705, 6445, 'X', 7149, 'B', 9079, 'P', 9337, 3641, 3731, 4837, 't'], [4089, 'f', 'A', 'q', 477, '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'q', 't', 'g', 'T', 8621, 'Z', 'L', 'd', 9207, 5705, 'Z', 'l', 'I', 'Z', 1141, 9949, 867, 'H', 'E', 3605, 3617, 331]

Ex Output:
619, r, 8913, 7507, 4527, 9313, 7813, 4297, 9581, 561, L, F, 9357, 5175, 1853, K, a, 8575, V, 8283, J, 5341


Ex Input:
[4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]

Ex Output:
S, 3191, 4439, C, 1965, 2787, 4507


Ex Input:
['P', 'h', 2881, 679, 3521, 'K', 'X', 991, 1201, 'Z', 'l', 'Q', 'o', 'H', '8693', '2401', '9025', '2259', '2295', 'O', '3501', 'Y', 'J', '5751', 'P', 'e', 'W', 5121, 379, 'u', 9181, 'M', 8489, 9579, 7625, 1691, 6793, 4723], [2491, 9207, 'l', 'Q', 'o', 'H', '8693', '2401', '9025', '2259', '2295', 'O', '3501', 'Y', 'J', '5751', 'F', 'l', 'x', 'e', 2493, 'x', 1629]

Ex Output:

l, Q, o, H, 8693, 2401, 9025, 2259, 2295, O, 3501, Y, J, 5751