In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2601, 6613, 'G', 'w', 'Q', 4997, 1113, 6663, 'i', 'g', 4777, 8427, 'Q', 'd', 'M', '605', '7107', '227', '5475', '4439', 'b', 'T', 'l', '1213', '3403', 'U', '3145', '1811', 'e', 'H', 'g', 'b'], ['L', 5499, 3217, 'H', 'r', 'n', 'G', 'd', 'd', 'M', '605', '7107', '227', '5475', '4439', 'b', 'T', 'l', '1213', '3403', 'U', '3145', '1811', 'u', 'J', 'D', 'E', 'R', 'c', 'A', 6551]