# -*- coding: utf-8 -*-
import hotkey
import fileinput
import json
import sys

def print_event_json(event):
    print(event.to_json(ensure_ascii=sys.stdout.encoding != 'utf-8'))
    sys.stdout.flush()
hotkey.hook(print_event_json)

parse_event_json = lambda line: hotkey.KeyboardEvent(**json.loads(line))
hotkey.play(parse_event_json(line) for line in fileinput.input())
fe91eb6e473bf838945db3adf37046718591aac1
<mask token>


def print_event_json(event):
    print(event.to_json(ensure_ascii=sys.stdout.encoding != 'utf-8'))
    sys.stdout.flush()


<mask token>

<mask token>


def print_event_json(event):
    print(event.to_json(ensure_ascii=sys.stdout.encoding != 'utf-8'))
    sys.stdout.flush()


hotkey.hook(print_event_json)
<mask token>
hotkey.play(parse_event_json(line) for line in fileinput.input())

<mask token>


def print_event_json(event):
    print(event.to_json(ensure_ascii=sys.stdout.encoding != 'utf-8'))
    sys.stdout.flush()


hotkey.hook(print_event_json)
parse_event_json = lambda line: hotkey.KeyboardEvent(**json.loads(line))
hotkey.play(parse_event_json(line) for line in fileinput.input())

import hotkey
import fileinput
import json
import sys


def print_event_json(event):
    print(event.to_json(ensure_ascii=sys.stdout.encoding != 'utf-8'))
    sys.stdout.flush()


hotkey.hook(print_event_json)
parse_event_json = lambda line: hotkey.KeyboardEvent(**json.loads(line))
hotkey.play(parse_event_json(line) for line in fileinput.input())

# -*- coding: utf-8 -*-
import hotkey
import fileinput
import json
import sys

def print_event_json(event):
    print(event.to_json(ensure_ascii=sys.stdout.encoding != 'utf-8'))
    sys.stdout.flush()
hotkey.hook(print_event_json)

parse_event_json = lambda line: hotkey.KeyboardEvent(**json.loads(line))
hotkey.play(parse_event_json(line) for line in fileinput.input())