In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['b', 7475, 'Z', 6397, 'U', '969', '5723', '2371', '6541', '6223', '7141', '4853', '5529', 'z', '9709', '8223', '1007', '7157', 'f', 'r', 8675, 'S'], [2579, 'K', 'N', 5049, '969', '5723', '2371', '6541', '6223', '7141', '4853', '5529', 'z', '9709', '8223', '1007', '7157', 'f', 'g', 2607, 'h', 615, 'O', 5193, 'W', 1825, 8291, 'R', 'T', 5091]