In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[65, 'l', 'I', 'E', 'w', 'T', 5049, 7925, 'T', 'F', 'P', 6227, 1369, 'h', 7975, 'f', '5663', 'Z', '1567', 'i', '9581', 'u', 'h', '947', '6801', 'p', 'J', '6883', 'w', 'I', 'A', '1783', '2857', '1681', '1727', '7037', '5179', 'N', '1069', 'w', 'f', '8877', 'w', 8091, 'u', 'B', 2295, 'L', 'd', 'o', 8955, 919, 1265, 'C', 1909, 1769, 'q', 'G', 1699, 5871, 10019, 1049, 'M', 'q', 3751, 953, 'X', 2667, 'Y'], [2377, 's', 1685, 'l', 'T', 7971, 'T', 'y', 'f', '5663', 'Z', '1567', 'i', '9581', 'u', 'h', '947', '6801', 'p', 'J', '6883', 'w', 'I', 'A', '1783', '2857', '1681', '1727', '7037', '5179', 'N', '1069', 'w', 'f', '8877', 'O', 2713, 'y', 1723, 9367, 'E', 'i', 'D', 4709]