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

['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]
5747, i, M

['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']
J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701

['Y', 6837, 975, '7565', '1655', '125', '5061', 'E', '4259', '4751', '4137', '6769', 'f', 1215, 'g', 'T', 6637, 6587, 8629], [4037, 7741, 'p', 1547, 6453, 'O', 'g', '7565', '1655', '125', '5061', 'E', '4259', '4751', '4137', '6769', 'j', 'k', 'B']

7565, 1655, 125, 5061, E, 4259, 4751, 4137, 6769