In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[105, 'T', 'J', 'Q', 8357, 3845, 8779, 'U', '5343', '6273', 'f', 'O', 'T', 'f', 'M', '3629', 'R', 'O', 'R', 'b', 'Q', '9173', '5365', 'o', 3519, 'G', 's'], [5669, 3947, 'a', 'd', 'D', 549, 9049, 'h', 'Q', 1471, '5343', '6273', 'f', 'O', 'T', 'f', 'M', '3629', 'R', 'O', 'R', 'b', 'Q', '9173', '5365', 'd', 7497, 573, 17, 179, 3531, 5143, 'V', 'Q', 'q', 4117, 'i', 6081, 8763]