from sys import stdin
import ast
x = ast.literal_eval(stdin.readline())
for i in x:
print i['age'], i['name']
ZnJvbSBzeXMgaW1wb3J0IHN0ZGluCmltcG9ydCBhc3QKeCA9IGFzdC5saXRlcmFsX2V2YWwoc3RkaW4ucmVhZGxpbmUoKSkKCmZvciBpIGluIHg6CiAgICBwcmludCBpWydhZ2UnXSwgaVsnbmFtZSdd
W3snbmFtZSc6J3J5JywgJ2FnZSc6Mjh9LCB7J25hbWUnOidibycsICdhZ2UnOjExfSwgeyduYW1lJzonZWQnLCAnYWdlJzo5OX1d
[{'name':'ry', 'age':28}, {'name':'bo', 'age':11}, {'name':'ed', 'age':99}]