while (<IN>) {
$_ =~ s/^\s+//;
my @data = split /\s+/, $_;
print "$data[0],$data[1],$data[2]\n";
}