In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1575, 1991, 'T', 'B', 3287, 'O', 561, 10027, 'H', 557, 'C', 'a', 'f', '8003', 'U', '3771', 'X', '7909', 'G', '3321', '6835', '4747', 'U', 'u', 'q', 'G', 'x', 1429], ['B', 'N', 'L', 7231, 'J', 'r', 'h', 6977, 2383, 9853, 'y', 'e', 5271, 'f', '8003', 'U', '3771', 'X', '7909', 'G', '3321', '6835', '4747', 'U', 'u', 'q', 'G', 'A', 'a', 'W', 'y', 1887, 9883, 'V', 4471, 8345, 5527, 'C']