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:
[7607, 2751, 6805, '8673', '1407', 'W', '8153', 'h', 9047, 'T', 7651], ['L', 1847, 6271, '8673', '1407', 'W', '8153', 'P', 5029]

Ex Output:

8673, 1407, W, 8153