Mixed numbers calculation