import java.util.* ;
import java.lang.* ;
import java.io.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
// your code goes here
Scanner in
= new Scanner
( System .
in ) ; int m = in.nextInt ( ) ;
int n = in.nextInt ( ) ;
boolean meven = m % 2 == 0 ? true : false ;
boolean neven = n % 2 == 0 ? true : false ;
double x;
if ( meven && neven)
{
x = m* n/ 4 ;
}
else if ( meven && ! neven)
{
x = m* ( n- 1 ) / 4 ;
}
else if ( ! meven && neven)
{
x = n* ( m- 1 ) / 4 ;
}
else
{
if ( n> m)
{
int tmp= n;
n = m;
m = tmp;
}
if ( ( n- 1 ) % 4 == 0 )
{
x = m* ( n- 1 ) / 4 ;
}
else
{
x = ( m* ( n- 1 ) - 2 ) / 4 ;
}
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb257CiAgLy8geW91ciBjb2RlIGdvZXMgaGVyZQogIFNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwogIGludCBtID0gaW4ubmV4dEludCgpOwogIGludCBuID0gaW4ubmV4dEludCgpOwogIGJvb2xlYW4gbWV2ZW4gPSBtICUgMiA9PSAwID8gdHJ1ZSA6IGZhbHNlOwogIGJvb2xlYW4gbmV2ZW4gPSBuICUgMiA9PSAwID8gdHJ1ZSA6IGZhbHNlOwogIGRvdWJsZSB4OwoKICBpZiAobWV2ZW4gJiYgbmV2ZW4pCiAgewogICB4ID0gbSpuLzQ7CiAgfQogIGVsc2UgaWYgKG1ldmVuICYmICFuZXZlbikKICB7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