#include int main(){ int n, m, x, y, t; scanf("%d %d",&n, &m); int arr[100]; for(int i=0; i