A bank lent $200500 for the development of two products. If the loan for product X was for $50500 more than for product Y, how much was lent for product Y?