In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 'r', 'Z', 8417, '9697', 'm', '3277', '6281', 'r', 'g', 'z', 'p', '435', '7545', '7829', 'j', 'e', '3611', '1271', '4221', 'R', 'S', 'M', 521, 8917, 'e', 6695, 'o', 9665, 4641, 'D', 'B', 985, 8037, 'o', 'F', 9971], ['E', 'D', 9203, 3035, 2371, 879, 'n', 'r', 'g', 'n', '9697', 'm', '3277', '6281', 'r', 'g', 'z', 'p', '435', '7545', '7829', 'j', 'e', '3611', '1271', '4221', 'R', 'S', 'S', 8305, 5637, 'U', 'U', 'f', 6833, 6615, 3027, 'G', 9971, 'v']