Getting trolled by confusing input/output