How set up a sub network?

I have a class C IP address (192.168.27.0/24). I want to build up a sub network using the IP address. The network will be divided into three parts that contain 30 PCs in a sub network, and 50 PCs in a sub network.
Now how can I assign the PCs using the IP address?
