LearnPy Hub
← Dictionaries problems
Easy

All the Keys

Read n, then n lines of name score. Store them in a dictionary and print the keys in the order they were added, on one line.

Input

n, then n lines.

Output

One line.

Sample 1

Input
3
Mim 80
Rafi 70
Sara 90
Output
Mim Rafi Sara

Sample 2

Input
1
A 1
Output
A
solution.py
Output appears here
All the Keys · Python practice problem · LearnPy Hub