#include using namespace std; int main() { int v[101],n,i,x,j; cin>>n; for (i=0;i>x; v[i]=x%23; } x=n; for (i=0;i