def main(input = STDIN)
  while (str = input.gets)
    output = []
    str = str.chomp.split(//)
    while str.size != 0
      char = str.shift
      if char == "@"
        output << "".rjust(str.shift.to_i, str.shift)
      else
        output << char
      end
    end
    puts output.join
  end
end
main