In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5751, 'H', 'g', 3971, 'f', 'M', 9061, 1037, 'u', 2733, 1281, 'o', 4821, 't', 3015, 'd', 'u', 4879, 'd', 'S', 't', 9247, 6469, 'e', 'R', 9483, 'b', '153', 'c', '7007', '7835', '7205', '7177', 'm', '7135', '9735', 'U', '9947', 'm', '8457', 'D', 'y', 'e', 'e', 'g', '6275', 'q', '7631', 'X', '5157', '1895', '767', 'F', '67', 'h', 'M', 3587, 'j', 2657, 'F', 7571, 9119, 9271, 5869, 'i', 'S', 'y', 8073, 'D', 'Z'], [1253, 'a', 's', 9471, 4377, 'H', 'A', 'u', 7953, 8467, 'F', 10017, 8057, 'n', 6959, 7649, 5003, 'W', 'u', 'S', 'K', 'K', '153', 'c', '7007', '7835', '7205', '7177', 'm', '7135', '9735', 'U', '9947', 'm', '8457', 'D', 'y', 'e', 'e', 'g', '6275', 'q', '7631', 'X', '5157', '1895', '767', 'F', '67', 'h', 'm', 969, 3365, 'L', 'u', 9773, 'u', 4875, 5607, 'U', 9023, 'b', 3839, 'S', 'W', 'E', 1331, 'j', 1533, 1411, 's', 1427, 8519, 3557, 'J', 'n']