Julie went shopping at the mall for a new pair of jeans. She saw a pair at Hollister that was marked $50 with a 40% discount. She saw a pair at Abercrombie that was marked $40 with a 20% discount. How much would each pair of jeans cost after the discount?