In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 'C', 6059, 1719, 8923, 'M', '4001', '5001', 'C', '9701', '4207', '295', 'i', 'O', 'N', 'u', 1681, 817, 9787, 7543, 9707, 3853, 'N', 6781], ['A', 'p', 2057, 'z', 'w', 583, 'u', 'Q', 2661, 'M', '4001', '5001', 'C', '9701', '4207', '295', 'i', 'O', 'N', 'k', 5123, 3931, 2707, 'P', 1513, 6355, 'L']