In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5, 'z', 7591, 'P', 'S', 9123, 'K', 'E', '6447', '5323', '4387', 'e', 'D', 'H', 'D', 'z', 'd', '6741', '9677', '2287', '531', '1653', '7151', 'B', '2725', 'z', 'A', 'x', '4945', 'p', '9731', 'o', 'h'], [1659, 'J', 3997, 'S', 'z', 7609, 7965, 8131, 991, 'E', 'f', 275, 't', 8883, 4161, 'a', 'o', 5761, 6337, 965, 'c', 'K', 'E', '6447', '5323', '4387', 'e', 'D', 'H', 'D', 'z', 'd', '6741', '9677', '2287', '531', '1653', '7151', 'B', '2725', 'z', 'A', 'x', '4945', 'p', '9731', 'n', 5893, 1085, 'I', 6825, 't', 8651, 'y', 4897, 't', 'T', 175, 'X', 9331, 'j', 371, 859, 'n', 'H', 'p']