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

Ex Input:
['K', 6723, 7053, 'g', 6793, 'h', 'C', 'H', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'T', 'o', 'j', 5777, 3173, 'N', 'Q', 'O', 'm', 4693], ['r', 5349, 503, 'Q', 8435, 'Y', 6633, 'W', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'Q', 'Z', 8433, 'h', 8205, 'm', 6605, 5051, 'w', 'o', 3177, 't', 9005, 'v', 'G']

Ex Output:
J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701


Ex Input:
[6211, 8013, 7837, 3385, 'z', 7301, 'D', 'Y', 'Q', 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'I', 'k', 5831], ['A', 'N', 'I', 4579, 'R', 'P', 4559, 3977, 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'D', 7909, 'x']

Ex Output:
Y, W, 473, 9037, K, V, 7669, R, 6605


Ex Input:
[9939, 'U', 7753, 'W', 'J', 'I', '9137', 'Y', '6955', '3289', 'z', 'P', '1641', '4951', '1521', 'l', '7333', '8905', 'g', '9239', 'P', '4239', '4015', 'L', 'o', 'X', 'n', 4011, 'k'], [9405, 'e', 'h', 4759, 'w', 4053, 6525, 'x', 'M', 7677, 4391, 'V', 'U', 7157, 'P', 'W', 'J', 'I', '9137', 'Y', '6955', '3289', 'z', 'P', '1641', '4951', '1521', 'l', '7333', '8905', 'g', '9239', 'P', '4239', '4015', 'V', 'Z', 'a', 'u', 715]

Ex Output:

W, J, I, 9137, Y, 6955, 3289, z, P, 1641, 4951, 1521, l, 7333, 8905, g, 9239, P, 4239, 4015