In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['l', 2787, 'P', 1949, 3131, 'u', 'k', 'W', 'E', 9421, 'D', 'V', 'U', 'M', '5825', 'R', '2931', 'F', '399', 'W', 'Q', 'P', 'v', '2817', '2723', '8887', '7195', 't', '9277', 'N', 'C', 'Q'], ['v', 'm', 'p', 7259, 8795, 'M', '5825', 'R', '2931', 'F', '399', 'W', 'Q', 'P', 'v', '2817', '2723', '8887', '7195', 't', '9277', 'z', 'S', 7583, 'r', 'W', 335]