In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7477, 4195, 'h', 2225, 5165, 2049, 'W', 'F', 't', '5255', '373', '4759', 'r', 't', 'J', '8469', 'r', '395', '9125', '9453', 'L', 8361, 'D', 229, 1789, 1173, 's', 4915, 709], ['i', 'I', 6601, 6407, 7931, 5649, 509, 'b', 9619, 'k', 't', '5255', '373', '4759', 'r', 't', 'J', '8469', 'r', '395', '9125', '9453', 'p', 'z', 585, 'e', 'n', 7165, 5871, 4887, 117, 'g', 'O', 4481]