In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2151, 6187, 'Z', 'V', 'M', '4573', 'y', '5639', '5911', 'h', 'A', '3867', '4887', '7405', 'q', '9489', 't', 'S', 'O', 3675, 7907, 'Z', 4153], ['g', 'U', '4573', 'y', '5639', '5911', 'h', 'A', '3867', '4887', '7405', 'q', '9489', 'F', 2559, 'C', 't', 'B', 'u', 9393, 9249]