One per switch, right? In my understanding these would be the wires that actually go from the switch to either the lightbulb or the fan, so they need to only become live when the switch is on.
You have got 4 black wires here:
* One in all the 2 coming from the wall is the live wire that comes from the breaker and brings power to everything.
* Another of the four goes straight back to the wall, presumably to power other switches (connected to the same breaker in fact).
* Each one of many remaining two black wires should go to the middle of certainly one of the 2 switches, to power it.
So if I got you right, you will want to identify the two black wires connected to the fan switch – one of the 4 marred ones is the one which powers the switch, and the opposite goes from the switch straight to the wall to power the fan.
This seems a fairly simple setting, so please be extra wary in messing there when you found it confusing. I mean, know your abilities… No offense meant!