In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 'f', 'n', 'Z', '9199', '7799', '7959', '2293', 'D', 'g', 'n', 'Y', 'i', '3785', '3983', 'Y', 'C', '1263', '4623', '2999', 'M', 'P', 'p', '8467', 'y', '7969', '8703', 'Z', 'X', 'n', 7217, 'Y', 8053, 'U', 'q', 1719, 4655, 5779, 'W', 7841, 7651], ['w', 4023, 2503, 'T', 'N', 8835, 3959, 5579, 6103, 9751, 9843, 'U', 'l', 'r', 'n', 'Z', '9199', '7799', '7959', '2293', 'D', 'g', 'n', 'Y', 'i', '3785', '3983', 'Y', 'C', '1263', '4623', '2999', 'M', 'P', 'p', '8467', 'y', '7969', '8703', 'p', 5799, 'R', 5941, 'v']