In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 6191, 'v', 1393, 't', '5597', '5717', 'e', '6297', '169', 'J', '7541', '2349', 'U', 'L', 'b', '1663', 'd', '19', '7143', 'i', '2339', 'y', '4331', '2065', '9509', 's', 'R', 9029, 'm', 9569, 2003, 'P', 'Q', 'h', 'Z', 9665, 5929, 9289, 5197, 6925, 1199, 3509, 8069], ['B', 'B', '5597', '5717', 'e', '6297', '169', 'J', '7541', '2349', 'U', 'L', 'b', '1663', 'd', '19', '7143', 'i', '2339', 'y', '4331', '2065', '9509', 's', 'K', 'q', 1299, 'm', 'M']