In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 8409, 8643, 9923, 'O', 8909, 'D', 'u', 'i', 2241, 'd', 'g', 'O', '8535', 'g', 'D', 'n', 'I', 'o', 'B', '8547', 'O', 'I', '283', '6465', 'c', 'H', '2819', 'G', 'u', 4633], [1665, 439, 6817, 8491, 'D', 'Y', 'J', 7019, 5827, 'Z', 'b', 7773, 6695, 1151, 'I', 'a', 'O', '8535', 'g', 'D', 'n', 'I', 'o', 'B', '8547', 'O', 'I', '283', '6465', 'c', 'H', '2819', 'G', 'e', 'g', 4327, 1481, 'p', 'L', 'W', 'A', 269, 'e']