In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5413, 2973, 'M', 'q', 4797, 'Y', 'q', 'd', 'M', 'S', 4437, 4241, 9873, 'b', 'p', 'J', 7175, 'U', 4629, 9497, 'P', 'f', 'N', 'I', 'c', 'D', 'z', '4775', 'x', 'x', 'K', '7787', '7185', '5159', 'e', '3257', 'q', '5899', 'Y', 'G', '4053', 'g', '8771', '6023', '4343', '6879', '6585', 'P', '9659', '2387', 'w', 'A', 'U', 'z', 'Z', 'z', 'i', 'Q', 8485], [7715, 6589, 2077, 'I', 'l', 'z', 'l', 'v', 9773, 'W', 7951, 7179, 5617, 8365, 'f', 'N', 'I', 'c', 'D', 'z', '4775', 'x', 'x', 'K', '7787', '7185', '5159', 'e', '3257', 'q', '5899', 'Y', 'G', '4053', 'g', '8771', '6023', '4343', '6879', '6585', 'P', '9659', '2387', 'c', 5787, 809, 5695, 8021, 'O', 'J', 's', 'x', 'O', 1251, 'B', 'j', 'S', 4731, 2129, 3093, 'y', 7945, 'f', 'f']