How do you prove a group of order 27 can be non abelian?
From what I tried:
Say $|G|=27$ then it's a p-group therefore the ceneter is non trivial so $|Z(G)|$ could be either $3,9,27$ if $|Z(G)|=27$ then the group is abelian. if $|Z(G)|=9$ then from lagrange $|G/Z(G)|=3$ therefore cyclic therefore $G$ is abelian (which is very strange to me although I'm using the theorems I just found an abelian group $G\neq Z(G)$). and if $Z(G)=3$ then I know that $G/Z(G)$ is abelian because it's of order 9 but I don't know how to continue from here.
Any help will be appreciated.