In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 9813, 'a', 4543, 'I', 'j', 'Z', 'A', 7187, 'h', '7537', 'O', '1587', '3765', 'D', '9063', '6205', '8865', 'h', '4549', '5243', 'F', 'e', '9667', 'h', 's', 3401, 't', 6631, 2513, 3969], ['t', 'd', 'U', 'W', 'A', 6221, 737, 'S', '7537', 'O', '1587', '3765', 'D', '9063', '6205', '8865', 'h', '4549', '5243', 'F', 'e', '9667', 'k', 'U']