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

Ex Input:
['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

Ex Output:
r, l, N, J, 7029, l, m


Ex Input:
['U', 2021, 9935, '873', 'T', '9883', 'y', 8789, 'v'], ['g', 7321, '873', 'T', '9883', 'p', 9721]

Ex Output:
873, T, 9883


Ex Input:
['R', 4477, 1385, 7107, 291, 791, 'I', 7479, 'M', 195, 's', 2325, '1177', 'Y', 'H', 'Q', 'o', 'a', 'Z', '9019', 'J', '4109', '6627', 'J', 'v', '6095', 'Y', 'F', 'F', 'M', '6685', 's', 'F', 'B', 'S', 2279, 5005, 9295, 4625, 9551, 8577, 5123, 2409, 2433, 3785, 'i', 'O', 'B', 9801, 739, 'c', 'Y', 8265, 'j'], [6179, 1299, 1397, 5369, 4327, 1545, 'W', 's', 3883, 7537, 4073, 3299, 'a', 1503, 'C', 4517, 'Z', 'X', 'R', 'V', 1151, 4613, '1177', 'Y', 'H', 'Q', 'o', 'a', 'Z', '9019', 'J', '4109', '6627', 'J', 'v', '6095', 'Y', 'F', 'F', 'M', '6685', 's', 'F', 'B', 'z', 1395, 3021, 'P', 10007, 'I', 'Y', 7817, 'C', 'Y', 'y', 7579]

Ex Output:

1177, Y, H, Q, o, a, Z, 9019, J, 4109, 6627, J, v, 6095, Y, F, F, M, 6685, s, F, B