In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'O', 'd', 'F', 5747, 6917, 'A', 5665, 's', 'D', 'Q', 'T', 9615, 'F', 'P', 4087, 7183, 'y', 'L', 'F', '8885', '1877', 'T', 'z', '5395', 'v', '7769', '1285', '509', 'V', 'P', 'n', 'q', 'Z', 'w', '4177', 'F', '625', 'F', 'b', '1405', 'T', 'l', '6985', '9027', 'W', 'x', 9701, 4301, 'q', 5371, 3187, 6265, 'X', 'M', 6947, 'x', 8489, 1577, 6279, 5041], [6351, 'u', 'g', 9733, 4007, 'M', 'q', 6033, 'B', 'F', '8885', '1877', 'T', 'z', '5395', 'v', '7769', '1285', '509', 'V', 'P', 'n', 'q', 'Z', 'w', '4177', 'F', '625', 'F', 'b', '1405', 'T', 'l', '6985', '9027', 'W', 'V', 10027, 'z', 'l']