In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5677, 'i', 2407, 8373, 8353, 'E', 'A', 2419, 'x', 8649, 5521, 6305, 4745, 'b', '7473', '7991', 'h', 'i', '1103', 'e', '6755', 'v', '1141', 'C', '2657', 'S', 'T', 'C', 'p', 'z', 5243], [5923, 2467, 'P', 'C', 4783, 'U', 4761, 'n', 9307, 5969, 3277, 8389, 'b', '7473', '7991', 'h', 'i', '1103', 'e', '6755', 'v', '1141', 'C', '2657', 'S', 'T', 'C', 't', 'x', 'u', 'P']