Submission #2101159


Source Code Expand

Copy
a,b=map(str,input().split())
if(a=="H"):
  if(b=="H"):
    print("H")
  else:
    print("D")
else:
  if(b=="H"):
    print("D")
  else:
    print("H")
  

Submission Info

Submission Time
Task A - HonestOrDishonest
User shomu36
Language Python3 (3.4.3)
Score 100
Code Size 164 Byte
Status
Exec Time 17 ms
Memory 2940 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_000.txt, 0_001.txt, 0_002.txt
All 100 / 100 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt
Case Name Status Exec Time Memory
0_000.txt 17 ms 2940 KB
0_001.txt 17 ms 2940 KB
0_002.txt 17 ms 2940 KB
1_003.txt 17 ms 2940 KB