In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1095, 7449, 1383, 5485, 3931, 2709, 'D', 'm', 'b', 'h', 3449, 'r', 'c', 3315, 6709, 'J', 8129, 'Q', 5241, 7295, 3037, 8895, 6817, 437, 1307, '7555', 'g', 'A', 'm', 'M', '271', '2913', '9087', 'I', '1815', '6969', '2345', '3313', '2225', '4855', '6287', 'D', '8559', '2701', 'D', '6049', 'O', '1605', '2417', 'w', '409', 'N', 3531, 'S', 7911, 'i', 'g', 'O', 'w', 'f', 6061, 6885, 5763, 1711, 'O', 7383, 'e'], [4845, 9099, 1651, '7555', 'g', 'A', 'm', 'M', '271', '2913', '9087', 'I', '1815', '6969', '2345', '3313', '2225', '4855', '6287', 'D', '8559', '2701', 'D', '6049', 'O', '1605', '2417', 'w', '409', 'R', 8791, 1521, 'p', 8275, 2205, 2743, 8295]