import sys
for line in sys.stdin:
    try:
        word, num = line.split('\t', 1)
    except ValueError as e:
        continue
    print('%d\t%s' % (int(num), word))

fc1c9efa6549f26cf8242c56e8cd2e304b904a23
<mask token>

<mask token>
for line in sys.stdin:
    try:
        word, num = line.split('\t', 1)
    except ValueError as e:
        continue
    print('%d\t%s' % (int(num), word))

import sys
for line in sys.stdin:
    try:
        word, num = line.split('\t', 1)
    except ValueError as e:
        continue
    print('%d\t%s' % (int(num), word))
