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

Ex Input:
['U', 1887, '8423', 'j', '8053', 'g', '5441', 'H', 'j', 3847, 'd', 'J', 1971, 'M'], ['y', 'T', 'C', 'z', 6299, 5393, '8423', 'j', '8053', 'g', '5441', 'H', 'x', 'f', 4189, 'h', 'e', 6577]

Ex Output:
8423, j, 8053, g, 5441, H


Ex Input:
[5555, 'e', 'k', '4653', 'S', 'q', 'o', 'z'], [8655, 3981, 'k', '4653', 'S', 'q', 'k', 8991, 8619, 's']

Ex Output:
k, 4653, S, q


Ex Input:
[6385, 'e', 'R', 'H', '8647', '8133', '3057', 'i', 'R', 4077, 4987], ['d', 4923, 'H', '8647', '8133', '3057', 'J', 'e']

Ex Output:

H, 8647, 8133, 3057