#include <stdio.h>

int main(void) {
  int a, b, c, k;
  int c1, c0, cm1;
  int max = 0;
  int count = 0;
  c1 = 1;
  c0 = 0;
  cm1 = -1;
  scanf("%d%d%d%d", &a, &b, &c, &k);
  for(int i = 1; i < )
}

int convination(int n, int k) {
    
}
