fork download
  1. from collections import Counter
  2. inputs = 'URLDFLDLFUBBDUBLRtroooooool'
  3. print(max('UDLRFB', key=Counter(inputs).get))
Success #stdin #stdout 0.09s 10088KB
stdin
Standard input is empty
stdout
L