In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 1477, 4457, 185, 'w', 5245, 'm', '7593', '3775', '2705', '2231', '217', 'b', 'L', '2385', '719', 'M', '3263', 'G', '3595', '6183', '1613', '3717', '1577', 'Q', 'P', 7497, 'y', 1053, 'U', 'p', 'v', 9315], ['q', 5679, 6259, 1729, 3893, 8263, 'I', 4807, 7313, '7593', '3775', '2705', '2231', '217', 'b', 'L', '2385', '719', 'M', '3263', 'G', '3595', '6183', '1613', '3717', '1577', 'Q', 'd', 'I', 'D', 'Z', 'X', 'g', 7819, 'G', 'n', 7331, 2269, 2841, 'u', 'Q', 1579, 387]