In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1091, 409, 2675, 6015, 'O', 5785, 7247, 4101, 'Q', 'V', 8847, 'h', 's', '3045', '4815', 'p', 'k', 'D', '2415', 'E', 'n', 'V', 'C', 'D', 'D', '7035', 'H', 'Y', 4799, 7777, 'L', 'U', 4441, 4789], [2249, 'p', 3225, 'I', 'a', 'z', 6055, 7329, 1427, 8717, 6135, 's', '3045', '4815', 'p', 'k', 'D', '2415', 'E', 'n', 'V', 'C', 'D', 'D', '7035', 'W', 669, 'c', 'p', 'a', 'J', 'P', 'L', 'W']