In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8263, 'T', 1865, 2147, 3625, 'I', 6289, 7099, 8573, 4361, 'e', '3371', '8739', '7687', '2641', 'g', 'Y', 'S', '7185', 'Z', '8055', '5861', 'f', 'b', 'I', '3235', 'P', 't', 'U', 'Z'], [9941, 167, 'q', 'q', 'n', 2177, 1431, 'E', '3371', '8739', '7687', '2641', 'g', 'Y', 'S', '7185', 'Z', '8055', '5861', 'f', 'b', 'I', '3235', 'P', 'r', 'R', 'w', 8755, 2007, 'v', 3527, 599, 6031, 'k', 'p', 'Q', 4393, 'g']