In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9707, 'Z', 'y', 6317, 6295, 'e', 3425, 'U', 3855, 'U', 5733, 'o', 'w', '8773', 't', 'S', '6769', 'm', '9165', '151', '3675', 'B', '5321', '8609', '9325', '1623', '6653', '7829', '6747', '3561', 'C', '8195', '5155', '3549', '569', '839', '2663', 'M', 'a', 'u', 7831, 'w', 'z', 'k', 'u', 7763, 'F', 'b', 3013, 'Q', 3117, 5671, 'S', 8385, 5227, 3159], ['y', 9273, 3703, 4611, 'L', 7205, 1135, 4599, 'o', 'w', '8773', 't', 'S', '6769', 'm', '9165', '151', '3675', 'B', '5321', '8609', '9325', '1623', '6653', '7829', '6747', '3561', 'C', '8195', '5155', '3549', '569', '839', '2663', 'M', 'N', 'c', 1277, 's', 9935, 6519, 4261, 2917, 1567, 'w', 'T', 't']