fork download
  1. <?php
  2. $input = "4 7";
  3.  
  4. $nums = explode(" ", $input);
  5.  
  6. $garry = $nums[1]-1;
  7. $larry = $nums[0]-1;
  8. $result = $garry . " " . $larry;
  9.  
  10. echo $result;
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
6 3