In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 4023, 7513, 883, 'U', 'r', 165, 3055, 8959, '6829', '8067', '5477', '2511', 's', '857', 'f', '7593', 'A', 'J', 'k', '4041', 'J', 'Z', 2021, 'U', 'V'], ['x', 6261, 3869, 2159, 'A', 6481, 4617, 4019, 'I', 'i', '6829', '8067', '5477', '2511', 's', '857', 'f', '7593', 'A', 'J', 'k', '4041', 'V', 'R', 'T', 'e', 9931, 'A', 5505]