User:Kumki1/sandbox

$a=<>; $b=<>; $c=<>;

chomp $a; chomp $b; chomp $c;

$arr[0]=$a; $arr[1]=$b; $arr[2]=$c;

print "@arr";