# your code goes here
str = '0.4350 0.8798 0.0099 1';
val = filter(None, str.split(' '));
print val
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCnN0ciA9ICcwLjQzNTAgICAgMC44Nzk4ICAgIDAuMDA5OSAgICAgICAgIDEnOwp2YWwgPSBmaWx0ZXIoTm9uZSwgc3RyLnNwbGl0KCcgJykpOwpwcmludCB2YWw=