/*
TASK:lab101
LANG:c
*/
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
  printf("%d\n", rand() % 3);
  
  return 0;
}  
