// Cloned by anish kumar on 28 Nov 2020 from Mind "Brave New World v5" by anish kumar
// Please leave this clone trail here.
AB.mind.getAction=function(A){var T=A[0],I=A[1],n=A[2],N=A[3];return N<I?AB.randomPick(ACTION_UP,AB.randomPick(ACTION_RIGHT,ACTION_LEFT)):N>I?AB.randomPick(ACTION_DOWN,AB.randomPick(ACTION_RIGHT,ACTION_LEFT)):n<T?AB.randomPick(ACTION_RIGHT,AB.randomPick(ACTION_UP,ACTION_DOWN)):n>T?AB.randomPick(ACTION_LEFT,AB.randomPick(ACTION_UP,ACTION_DOWN)):AB.randomIntAtoB(0,3)};