Push Ups and Rubik's cube