input, result added!
readme updated