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2VydCghc3RkOjpzaWduYml0KHIpKTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSBub25femVybzoKICAgICAgICAgICAgYXNzZXJ0KHN0ZDo6aXNmaW5pdGUocikgJiYgciA+IDApOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlIGluZjoKICAgICAgICAgICAgYXNzZXJ0KHN0ZDo6aXNpbmYocikgJiYgciA+IDApOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlIE5hTjoKICAgICAgICAgICAgYXNzZXJ0KHN0ZDo6aXNuYW4ocikpOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlIG5vbl96ZXJvX25hbjoKICAgICAgICAgICAgYXNzZXJ0KHN0ZDo6aXNuYW4ocikpOwogICAgICAgICAgICBicmVhazsKICAgICAgICB9CiAgICB9Cn0KCgppbnQgbWFpbigpCnsKICAgIHRlc3Q8ZmxvYXQ+KCk7CiAgICB0ZXN0PGRvdWJsZT4oKTsKICAgIHRlc3Q8bG9uZyBkb3VibGU+KCk7CiAgICB0ZXN0X2VkZ2VzKCk7Cn0K