In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2991, 'A', 3813, 'h', 'F', 'z', 'r', 6105, 't', 'o', 'q', '3203', 'C', '9729', '5689', '2807', 'U', '6955', 'E', 'C', 4045, 'F'], [6833, 'u', 9543, 'o', 'q', '3203', 'C', '9729', '5689', '2807', 'U', '6955', 'E', 'g', 9267, 'l', 8229, 5577, 4635, 'i', 'h', 5123]