Submission #13291399


Source Code Expand

Copy
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
    n=int(input())
    if n%10==2 or n%10==4 or n%10==5 or n%10==7 or n%10==9:
        print("hon")
    elif n%10==0 or n%10==1 or n%10==6 or n%10==8:
        print("pon")
    else:
        print("bon")
if __name__=='__main__':
    main()

Submission Info

Submission Time
Task A - ∴ (Therefore)
User charter
Language Python (3.8.2)
Score 100
Code Size 322 Byte
Status
Exec Time 24 ms
Memory 9184 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
Subtask1 100 / 100 sample_01.txt, sample_02.txt, sample_03.txt, sub1_01.txt, sub1_02.txt, sub1_03.txt, sub1_04.txt, sub1_05.txt, sub1_06.txt, sub1_07.txt, sub1_08.txt, sub1_09.txt
Case Name Status Exec Time Memory
sample_01.txt 24 ms 9000 KB
sample_02.txt 22 ms 8884 KB
sample_03.txt 20 ms 8900 KB
sub1_01.txt 18 ms 8888 KB
sub1_02.txt 18 ms 8888 KB
sub1_03.txt 17 ms 8988 KB
sub1_04.txt 19 ms 9048 KB
sub1_05.txt 22 ms 9184 KB
sub1_06.txt 21 ms 8896 KB
sub1_07.txt 23 ms 9184 KB
sub1_08.txt 16 ms 9128 KB
sub1_09.txt 19 ms 8892 KB