A ladder is resting on a rough ground and leaning against a smooth vertical wall. The force of friction will act