Processing input in the cloud