In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 'Q', '4205', 'h', 'S', '9439', 'q', 'r', 'z', 'w', 'p', '8011', 'P', '8317', '9445', 'x', 'y', '7547', 'A', '3471', '9805', 'O', 'U', 2815, 4205, 4771], [5507, 7153, 7805, 'D', 1415, 'w', 'u', 'T', 5705, 'q', 'g', 'j', 1649, 9795, 'j', 'c', 'd', 5149, '4205', 'h', 'S', '9439', 'q', 'r', 'z', 'w', 'p', '8011', 'P', '8317', '9445', 'x', 'y', '7547', 'A', '3471', '9805', 'o', 'j', 'X', 'T', 6301, 6401, 7757, 'e', 'a', 'G', 's', 'z', 1909, 'J', 'd', 1017, 'U', 'h']