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

Ex Input:
[5173, 6195, 's', '1739', 'z', '6701', '4055', '10017', '9615', '8077', 'I', '2899', 'm', 'H', '8731', '4099', '333', '4715', 'K', '1037', 'k', 'L', 'M', 1893, 'X', 'e'], ['k', 8023, 'R', 'D', 7703, 'l', 7021, 195, 307, 'H', 365, 8069, 559, 8195, 'g', 's', '1739', 'z', '6701', '4055', '10017', '9615', '8077', 'I', '2899', 'm', 'H', '8731', '4099', '333', '4715', 'K', '1037', 'k', 'l', 'o', 4179, 'O', 'Z', 'g', 1391, 's', 10005, 2651, 'D', 9085, 'y', 'L', 'L']

Ex Output:
s, 1739, z, 6701, 4055, 10017, 9615, 8077, I, 2899, m, H, 8731, 4099, 333, 4715, K, 1037, k


Ex Input:
[7615, 3985, 'o', 1073, 5157, 5347, '7031', '7637', '6703', '7735', '8445', '9373', 'f', 'x'], [1247, 'x', 5707, 3649, 'g', 'z', '7031', '7637', '6703', '7735', '8445', '9373', 'h', 6317, 'T', 'M', 5703, 'h']

Ex Output:
7031, 7637, 6703, 7735, 8445, 9373


Ex Input:
[895, 't', '1615', '1407', 'x', 'J'], ['t', 'y', '1615', '1407', 'A', 'l']

Ex Output:

1615, 1407