The number 150 was written as the sum of two numbers . The first number was divided by 27 . This quotient was added to the second number divided by 23 , and the total was 6 . What were the two numbers ?