In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8599, 2915, 10031, 7757, 'N', 7277, 'c', 'A', 'y', 'a', 'n', 'z', '9643', 'I', 'H', '7849', 'j', '5615', '6329', 'v', '4957', '347', 'U', 'i', 'j', 2825], [4421, 'k', 459, 'g', 'g', 1825, 2793, 'r', 'f', 'S', 'z', '9643', 'I', 'H', '7849', 'j', '5615', '6329', 'v', '4957', '347', 'U', 'i', 'B', 3511, 7667, 2015, 8441, 'l', 'R', 'F', 7903, 533, 'M', 'Q']