In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[10023, 'E', 'I', 9757, 3715, 7843, 1297, 'x', '6489', '7069', '5979', '10001', 'u', '2011', 'w', '9941', 'P', '6919', 'J', '2453', '6679', '6223', '1483', 'l', 't', 3171, 'O', 'r', 'u', 'i', 3381, 6641], [7551, 8713, 1707, 3453, 7227, 'a', 'J', 8499, 'J', 6377, '6489', '7069', '5979', '10001', 'u', '2011', 'w', '9941', 'P', '6919', 'J', '2453', '6679', '6223', '1483', 'l', 'e', 'z', 'q', 'I', 4377, 1161, 'H', 9347, 3737, 5961, 4191, 5411, 6487]