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

Ex Input:
[621, 7677, 'b', '889', '6721', 'H', 'd', 'S'], [8151, 'F', 'b', '889', '6721', 'h', 4123]

Ex Output:
b, 889, 6721


Ex Input:
['s', 'J', 2223, 'y', 'v', '9315', '8837', 'z', '8583', 'o', 'c', 'V'], ['E', 5699, 1225, 'f', '9315', '8837', 'z', '8583', 'o', 'u', 'j']

Ex Output:
9315, 8837, z, 8583, o


Ex Input:
[9335, 'Q', 'Y', '9499', '7179', '4355', 'r', 1961, 5063], ['G', 'R', 'Y', '9499', '7179', '4355', 'w', 6831, 'O']

Ex Output:

Y, 9499, 7179, 4355