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iAgbW9yZSwgZ2VuZXJhbGx5IG5hbWluZyBhbGwgYXR0cmlidXRlcyBvZiBhbiBvYmplY3QsIGFuZCBhbGwgYXR0cmlidXRlcwogIHJlYWNoYWJsZSBmcm9tIHRoZSBvYmplY3QgdmlhIGl0cyBjbGFzcywgYW5kIGZyb20gaXRzIGNsYXNzJ3MgYmFzZQogIGNsYXNzZXMsIGFuZCBzbyBvbiBmcm9tIHRoZW0gdG9vLiAgRXhhbXBsZTogIGluIDIuMmEyLCBkaXIoW10pIHJldHVybmVkCiAgYW4gZW1wdHkgbGlzdC4gIEluIDIuMmEzLAoKICA+Pj4gZGlyKFtdKQogIFsnX19hZGRfXycsICdfX2NsYXNzX18nLCAnX19jb250YWluc19fJywgJ19fZGVsYXR0cl9fJywgJ19fZGVsaXRlbV9fJywKICAgJ19fZXFfXycsICdfX2dlX18nLCAnX19nZXRhdHRyX18nLCAnX19nZXRpdGVtX18nLCAnX19nZXRzbGljZV9fJywKICAgJ19fZ3RfXycsICdfX2hhc2hfXycsICdfX2lhZGRfXycsICdfX2ltdWxfXycsICdfX2luaXRfXycsICdfX2xlX18nLAogICAnX19sZW5fXycsICdfX2x0X18nLCAnX19tdWxfXycsICdfX25lX18nLCAnX19uZXdfXycsICdfX3JlcHJfXycsCiAgICdfX3JtdWxfXycsICdfX3NldGF0dHJfXycsICdfX3NldGl0ZW1fXycsICdfX3NldHNsaWNlX18nLCAnX19zdHJfXycsCiAgICdhcHBlbmQnLCAnY291bnQnLCAnZXh0ZW5kJywgJ2luZGV4JywgJ2luc2VydCcsICdwb3AnLCAncmVtb3ZlJywKICAgJ3JldmVyc2UnLCAnc29ydCddCgogIGRpcihtb2R1bGUpIGNvbnRpbnVlcyB0byByZXR1cm4gb25seSB0aGUgbW9kdWxlJ3MgYXR0cmlidXRlcywgdGhvdWdoLgoKLSBPdmVyZmxvd2luZyBvcGVyYXRpb25zIG9uIHBsYWluIGludHMgbm93IHJldHVybiBhIGxvbmcgaW50IHJhdGhlcgog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