<?php list($D, $P) = explode(" ", trim(fgets(STDIN))); $S = $D + ($D * $P / 100); echo (floor($S));