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GltZSAN
CiAgIGlmICghYlJlc3VsdCkNCiAgIHsNCgkJcHJpbnRmKCJFcnJvciFTZXROYW1lZFBpcGVIYW5k
bGVTdGF0ZS4lZFxuIiwgR2V0TGFzdEVycm9yKCkpOw0KCQlnb3RvIEV4aXQwOw0KICAgfQ0KDQoJ
YlJlc3VsdCA9IFdyaXRlRmlsZShoUGlwZSwgbHBCdWZmZXIsIHVsU2l6ZSArIDEsICZkd1dyaXR0
ZW4sIE5VTEwpOw0KDQoJaWYgKCFiUmVzdWx0KQ0KCXsNCgkJcHJpbnRmKCJcblx0RXJyb3IhV3Jp
dGVGaWxlLiVkXG5cbiIsIEdldExhc3RFcnJvcigpKTsNCgkJcHJpbnRmKCJXaGVuIHNlZSB0aGUg
ZXJyb3IgbWVzc2FnZSwgdGhlIHRhcmdldCBtYXkgYmUgY3Jhc2hlZCEhXG5cbiIpOw0KCQlnb3Rv
IEV4aXQwOw0KCX0NCg0KRXhpdDA6DQoJDQoJcmV0dXJuIDA7DQp9DQo=

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH