manasa-and-stones problem resolved