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

Ex Input:
[5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]

Ex Output:
5961, 133, Q, V, 7547, 899, 6027, 439

Ex Input:
[8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']

Ex Output:
5725, g, 1797, 8531, i, 1975, Y, U, 2979, E, 9345

Ex Input:
[2087, 'V', 'e', 'q', 'Z', 'i', 7583, 's', 'l', 'I', 'd', 'r', '9409', '1035', '4757', 'G', '385', '3111', 'c', 'x', '4557', 'F', '1727', 'e', '9237', 'S', 'u', 'v', 'E', 4671, 'A', 'm', 't'], ['m', 'm', 's', 'l', 'I', 'd', 'r', '9409', '1035', '4757', 'G', '385', '3111', 'c', 'x', '4557', 'F', '1727', 'e', '9237', 'j', 'm', 'x', 'O', 'm', 9167, 4483, 1255, 7765, 'J', 'l', 'g', 'T', 'e', 'p', 'x', 'U']

Ex Output:
s, l, I, d, r, 9409, 1035, 4757, G, 385, 3111, c, x, 4557, F, 1727, e, 9237