"writeWithCommas" is supposed to print its input value with commas properly inserted (every three digits, starting at the right). But "writeWithCommas" doesn’t always work as intended. Which of the following arguments will not be printed correctly?

365051
  • 896
  • 251462251
  • 278278
  • 4

The problem is that the blocks of digits are put in reverse order.