/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 16ms 3.125 MiB
#2 Wrong Answer 16ms 3.074 MiB
#3 Wrong Answer 15ms 3.066 MiB

Code

'''CODED BY mahmudulsakib2019
 DATE:-06/03/2024; TIME:-20:50pm
  BANGALDESH , SYLHET'''
n=int(input())
s=input()
count_M=0
count_E=0
for i in range(len(s)):
    if s[i]=="M":
        count_M+=1
    elif s[i]=="E":
        count_E+=1
if count_E>count_M:
    print("Emon")
elif count_E<count_M:
    print("Mahfuz")
else:
    print("IDK")

    



    

Information

Submit By
Type
Submission
Problem
P1031 Clash of programmers
Contest
Brain booster #2
Language
Python 3 (Python 3.12.3)
Submit At
2024-03-06 14:50:48
Judged At
2024-11-11 03:41:47
Judged By
Score
20
Total Time
16ms
Peak Memory
3.125 MiB