#define SCNdFAST16 "d" 

decimal scanf format for int_fast16_t