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

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:
['U', 2021, 9935, '873', 'T', '9883', 'y', 8789, 'v'], ['g', 7321, '873', 'T', '9883', 'p', 9721]

Ex Output:
873, T, 9883


Ex Input:
[751, 'J', 7189, 'V', 1551, '2071', '6981', 'm', 'Q', 'D', 'C', 'p', 'O', 6581, 'x', 'B', 1083, 'q', 3305], [9601, 5717, 2835, 39, 'i', 'h', '2071', '6981', 'm', 'Q', 'D', 'C', 'p', 'J', 819]

Ex Output:

2071, 6981, m, Q, D, C, p