Q: Valid English sentence (grammatically) or not: Frank bought a piano for Jane.

A: acceptable

Q: Valid English sentence (grammatically) or not: The cloth swatted the fly.

A: unacceptable

Q: Valid English sentence (grammatically) or not: for John to hurt himself is stupid.

A:
acceptable