In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'z', 6439, 7593, 8813, '585', '3949', '1041', 'u', '8583', '9679', '2583', 'h', 'n', '6941', '1513', 'r', 'U', 'G', '891', '127', '3653', 'I', 'f', 'j', '5595', '5959', '721', 'j', '1301', 'h', 'p', 'Z', 5217, 7, 3909, 2723, 'U', 1171, 'H', 'A', 8345, 6545, 7919, 'L', 9747, 'F', 2291, 8559, 'x', 'o', 2423, 10009, 9737], [4677, 7063, 'n', 9589, 'n', '585', '3949', '1041', 'u', '8583', '9679', '2583', 'h', 'n', '6941', '1513', 'r', 'U', 'G', '891', '127', '3653', 'I', 'f', 'j', '5595', '5959', '721', 'j', '1301', 'u', 'G', 'k', 8123, 't', 8075, 8483, 7331, 't', 8215, 7893, 7839, 'N', 'd']