Reality Check

Algorithm