fork download
  1. # your code goes here
  2. x=input('')
  3. max=0
  4. y=''
  5. for i in x:
  6. if(x.count(i)>max):
  7. max=x.count(i)
  8. y=i
  9. print(y)
  10.  
  11.  
Success #stdin #stdout 0.02s 9160KB
stdin
pavan
stdout
a