Fixed input parsing
Random