You can wear pants formal occasion or to a party