import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
String pegaValorName
= "<td><input type=\"radio\" name=\"pg4\" value=\"NAO\" /></td>"; String partes
[] = pegaValorName.
split("name=\""); partes = partes[1].split("\"");
System.
out.
println(valorName
); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU3RyaW5nIHBlZ2FWYWxvck5hbWUgPSAiPHRkPjxpbnB1dCB0eXBlPVwicmFkaW9cIiBuYW1lPVwicGc0XCIgdmFsdWU9XCJOQU9cIiAvPjwvdGQ+IjsgCiAgICAgICAgU3RyaW5nIHBhcnRlc1tdID0gcGVnYVZhbG9yTmFtZS5zcGxpdCgibmFtZT1cIiIpOwogICAgICAgIHBhcnRlcyA9IHBhcnRlc1sxXS5zcGxpdCgiXCIiKTsKICAgICAgICBTdHJpbmcgdmFsb3JOYW1lID0gcGFydGVzWzBdOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbih2YWxvck5hbWUpOwoJfQp9