The case of Brown, Jones and Smith is being considered. One of them committed a crime. During the investigation, each of them made two statements. Brown: “I did not do it. Jones did not do it. " Smith: “I did not do it. Brown did it. “Jones:" Brown did not do it. This was done by Smith. “Then it turned out that one of them had told the truth in both statements, another had lied both times, and the third had told the truth once, and he had lied once. Who committed the crime?