In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 5089, 'A', 'X', 'p', 'A', 5373, 't', 7225, '6745', 'u', 'V', 'H', '6983', 'y', '2957', '8385', '8703', 'W', 8571], [3011, 'U', 'W', 'v', 'S', 'h', 3025, 'u', '6745', 'u', 'V', 'H', '6983', 'y', '2957', '8385', '8703', 'F', 'i', 'W', 'T', 'J', 2001, 1463]