import 'dart:io';

void main() {
  List xkd = stdin.readLineSync().split(" ").map((x) => int.parse(x)).toList();
  List list;
  list = [];
  int x0 = xkd[0];
  for (int a = 0; a <= xkd[1]; a++) {
    x0 = x0 + -(xkd[1] - a) * (x0 - xkd[2]) + a * (x0 + xkd[2]);

    list.add(x0.abs());
  }
  List ans = list..sort((a, b) => a.compareTo(b));
  print(ans);
}