#include inline int min(int a,int b){return a